From: "Johannes Schindelin" <
Johannes....@gmx.de>
At the moment I've ended up with 7 remotes for git!
Router (supposed file space), jrn, junio, kernel, mingw, origin (my
GitHub) and upstream (msysgit/git), so its easy [for me] to be confused.
Yes, trying to decide which one should be origin can be fun. Calling one
'upstream' may also have been a bad choice.
>
> Therefore, the different 'master' branches are: junio/master,
> msysgit/master and origin/master.
My problem is the desire to have "my own copy of [each of] their
master(s)" in my own name space (I suspect others have a similar
cognition problem). That's when it gets tricky deciding what to call all
those masters...
However some of this is probably a semantic problem because 'having
one's own copy' doesn't actually create a copy, rather it simply create
the extra branch pointer to the same place. But it always feel good to
have your own stuff;-)
I had some problems a while back when I accidentally created a branch
called 'origin' which made all the expected DWIMing go haywire and took
me a while to understand what was happening and then to fix it.
I noted that on Karsten's GitHub repo he had a lot of kb/<branches>
though they may be duplicates of his patch series on junio's. It just
made me think there may be a few common conventions on local naming.
>
> Whenever I make any changes, the first thing is always to name the
> branch:
>
> git checkout -b stuff-for-philip
I usually do that, but 'from my local copy', so either I need to get my
head around my wrong semantics of mine/theirs (which gets awkward with
Junios pu and next when they get re-wound - I'd like mine not to re-wind
till I say so!)
>
> In the Git for Windows project, we try very hard to follow the Pull
> Request model, therefore I also have another remote for my personal
> fork
> to which I push all of my work.
I need to a bit of practice on that as I've not used it yet - too many
patch attempts to junio [mainly documentation and beginner help stuff].
>
> So I guess the short answer is that I do not think of those branches
> as
> 'master', but instead as 'junio/master', 'origin/master', etc
One option I'm toying with is to have a local namespace 'my', so I'd get
'my/origin/master' but I have a feeling I'm just digging my hole
deeper!.
>
> Ciao,
> Johannes
>
Many thanks for the feedback. It's useful to write out the issues. It
helps clear the confusions.
regards
Philip
(now it's back to sorting my local install of msysgit 1.9.4, to
investigate the msvc-build fixes, so I can use VS2008, when/then looking
at passing symrefs in git bundle;)