From: Jonathan Nieder Date: Mon, 04 Oct 2010 20:57:25 GMT Subject: Re: Useful tracking branches and auto merging Message-ID: <20101004205725.GJ6466@burratino> In-Reply-To: Felipe Contreras wrote: > On Mon, Oct 4, 2010 at 11:46 PM, Jonathan Nieder wrote: >> git merge @{u} > > Interesting, I don't find anything like that in the documentation. The @{upstream} notation is documented in gitrevisions(7). But yes, a more prominent mention (maybe some examples?) would be nice. > Moreover, wouldn't it make sense to make 'git merge' = 'git merge > @{u}'? I think so, yes. :) >> Maybe 'git pull --all' could be taught to eventually do this?  That >> would be incompatible with its current behavior of fetching everything >> and merging some random branch, but I don't think anyone is relying >> on that. > > Maybe, I feel 'git pull' is for single branches or repos, whereas 'git > remote update' is pretty clear it's for all the repos If I remember correctly, the current status is: - 'git remote' is for adding, removing, and pruning remotes - 'git fetch ' and 'git fetch --all' are for updating them, and - 'git remote update' is for backward compatibility.