How do you fake git pull when the network is down?

89 Views Asked by At

I don't have network connectivity to allow git fetch to work, but I do have remote desktop access so I am trying to use git format-patch and git am to transfer the commits.

However it appears that the patch gets a new commit number when applied, so you'd end up having to do a merge when the network is restored.

Is it possible to get the effect of a pull by transferring patch files?

0

There are 0 best solutions below