Re: Minor annoyance with git push
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Feb 8, 2008, 22:57 UTC
- Message-ID
- <alpine.LSU.1.00.0802082256290.11591@racer.site>
- In-Reply-To
- <46a038f90802081427k6ee94cfagbc02533538e75b49@mail.gmail.com>
Hi,
On Sat, 9 Feb 2008, Martin Langhoff wrote:
Show 8 quoted lines
> On Feb 9, 2008 12:50 AM, Johannes Schindelin <Johannes.Schindelin@gmx.de> 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).
Show 8 quoted lines
> > 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