Suppose I have already run git fetch
, and now I want to run git pull
, to bring my local myBranch
up-to-date with my origin\myBranch
.
BUT!! in the mean time, after running the fetch
, my internet connection has dropped :( Now, when I run git pull
it fails, because it can't see remote
. But I'd like to still do the local portion of the pull.
Is there a way to tell git pull
to run without doing the initial git fetch
?
NOTE:
I could git reset --hard
to update myBranch
. But git pull
doesn't always just do that.
I guess another way to phrase the question is "What second command satisfies: git pull
= git fetch
+ git ???
"?