Re: [1.8.0] make two-argument fetch update remote branches
- From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
- Date
- Jan 31, 2011, 22:18 UTC
- Message-ID
- <vpqipx4af91.fsf@bauges.imag.fr>
- In-Reply-To
- <201101312244.10047.trast@student.ethz.ch>
Thomas Rast <trast@student.ethz.ch> writes:
> Running "git fetch origin master" only updates FETCH_HEAD, not > origin/master, which turns out to be quite confusing for newcomers > especially after running 'git pull origin master'.
+1
We just got the case on this list of a newbie running "git pull origin master" to update his local branch, and "git status" still complaining that the local branch was ahead of the remote by many commits.
Updating the remote-tracking in this case would avoid such confusion.
-- Matthieu Moy http://www-verimag.imag.fr/~moy/