Re: Useful tracking branches and auto merging
From: Jonathan Nieder <hidden>
Date: 2016-06-15 22:49:42
Felipe Contreras wrote:
On Mon, Oct 4, 2010 at 11:46 PM, Jonathan Nieder [off-list ref] wrote:
quoted
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. :)
quoted
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 <remote>' and 'git fetch --all' are for updating them, and - 'git remote update' is for backward compatibility.