From: Johannes Schindelin Date: Fri, 08 Feb 2008 22:57:36 GMT Subject: Re: Minor annoyance with git push Message-ID: In-Reply-To: <46a038f90802081427k6ee94cfagbc02533538e75b49@mail.gmail.com> Hi, On Sat, 9 Feb 2008, Martin Langhoff wrote: > On Feb 9, 2008 12:50 AM, Johannes Schindelin wrote: > > > The problem is that the local side cannot tell > > The local side has the remote refs if the client has fetched recently, > so it might be able to tell in some cases. Not with authority (things > may have changed on the server side...) but the client might be able to > say something less alarming. But if it was not fetched recently? I think that what you suggest is too tricky (IOW too prone to break). > > Another way to "solve" this issue, of course, is to use the remote > > layout. I did the switchover myself some time ago; it was hard at > > first, since I was so used to just check out the branches I just > > fetched. But in the long run the distinction between local and > > tracking branches made life much easier for me. > > What do you mean with "the remote layout"? I am using "remotes"+tracking > branches as far as I can tell... I mean keeping most branches purely as tracking branches. Whenever you are done with one branch, you delete the local branch. Ciao, Dscho