From: Johannes Schindelin Date: Fri, 08 Feb 2008 11:52:44 GMT Subject: Re: Minor annoyance with git push Message-ID: In-Reply-To: <46a038f90802072050s46ffe305mcffffa068511e3b8@mail.gmail.com> Hi, On Fri, 8 Feb 2008, Martin Langhoff wrote: > On Feb 8, 2008 5:44 PM, Martin Langhoff wrote: > > None of these "rejected" branches have anything _new_, they are just > > stale. Nothing new to say. > > And I guess the natural follow up question is: would it make sense to > tell git pull to do a "merge" for not-checked-out branches where we can > safely tell that the resulting "merge" will actually be a fast-forward? That question comes up pretty often, I think. But you need a working directory to resolve conflicts for merges. You only have one, though. So no, I think it is saner to have tracking branches (which are updated anyway), and local branches. And once you're done with a branch, you simply push it, and then delete it (you will still have the result in the tracking branch). Ciao, Dscho