Re: Terminology question about remote branches.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Julian Phillips
Date: Saturday, August 4, 2007 - 10:19 am

On Sat, 4 Aug 2007, David Kastrup wrote:


It really is in .git/config, _provided_ that your repo was created by 
1.5.0 or newer.  Older versions had a more distributed setup using files 
in .git/remotes/ and .git/branches/


Nope, that's just information about what got fetched last.  A purely 
temporary thing.


With pre 1.5 you didn't get remote tracking branches in a separate 
namespace.  The default was to have a local branch called origin which was 
the "remote tracking branch" for the master branch - but this wasn't 
enforced.  So with your repo the origin branch _is_ the remote tracking 
branch ... or at least the closet a pre 1.5 setup gets.


It would appear that your repo was created with an old version of git. 
Which also explains why you were talking about origin as a branch - which 
it used to be (a real local branch too ...), rather than as a remote - 
which it is now.

The whole remotes/tracking mechanism changed in 1.5.0 - now it's much more 
flexible (and probably more complicated too).

-- 
Julian

  ---
Ever notice that even the busiest people are never too busy to tell you
just how busy they are?
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Terminology question about remote branches., David Kastrup, (Sat Aug 4, 3:55 am)
Re: Terminology question about remote branches., Jeff King, (Sat Aug 4, 5:02 am)
Re: Terminology question about remote branches., David Kastrup, (Sat Aug 4, 5:36 am)
Re: Terminology question about remote branches., Lars Hjemli, (Sat Aug 4, 6:07 am)
Re: Terminology question about remote branches., David Kastrup, (Sat Aug 4, 6:38 am)
Re: Terminology question about remote branches., David Kastrup, (Sat Aug 4, 7:01 am)
Re: Terminology question about remote branches., Lars Hjemli, (Sat Aug 4, 7:03 am)
Re: Terminology question about remote branches., David Kastrup, (Sat Aug 4, 7:11 am)
Re: Terminology question about remote branches., David Kastrup, (Sat Aug 4, 7:25 am)
Re: Terminology question about remote branches., Lars Hjemli, (Sat Aug 4, 7:35 am)
Re: Terminology question about remote branches., Julian Phillips, (Sat Aug 4, 7:50 am)
Re: Terminology question about remote branches., David Kastrup, (Sat Aug 4, 8:09 am)
Re: Terminology question about remote branches., David Kastrup, (Sat Aug 4, 8:22 am)
Re: Terminology question about remote branches., Lars Hjemli, (Sat Aug 4, 8:48 am)
Re: Terminology question about remote branches., David Kastrup, (Sat Aug 4, 10:00 am)
Re: Terminology question about remote branches., Julian Phillips, (Sat Aug 4, 10:19 am)
Re: Terminology question about remote branches., David Kastrup, (Sat Aug 4, 11:00 am)
Re: Terminology question about remote branches., Theodore Tso, (Sat Aug 4, 3:56 pm)
Re: Terminology question about remote branches., David Kastrup, (Sun Aug 5, 12:06 am)
Re: Terminology question about remote branches., Junio C Hamano, (Sun Aug 5, 12:31 am)
Re: Terminology question about remote branches., Jeff King, (Sun Aug 5, 2:21 am)
Re: Terminology question about remote branches., Jeff King, (Sun Aug 5, 2:24 am)
Re: Terminology question about remote branches., David Kastrup, (Sun Aug 5, 2:29 am)
Re: Terminology question about remote branches., Jeff King, (Sun Aug 5, 2:32 am)
Re: Terminology question about remote branches., David Kastrup, (Sun Aug 5, 2:44 am)
Re: Terminology question about remote branches., Jeff King, (Sun Aug 5, 2:46 am)
Re: Terminology question about remote branches., Jeff King, (Sun Aug 5, 3:05 am)
Re: Terminology question about remote branches., Steffen Prohaska, (Sun Aug 5, 3:07 am)
Re: Terminology question about remote branches., Jeff King, (Sun Aug 5, 3:10 am)
Re: Terminology question about remote branches., Steffen Prohaska, (Sun Aug 5, 3:56 am)
Re: Terminology question about remote branches., Jeff King, (Sun Aug 5, 4:02 am)
Re: Terminology question about remote branches., Julian Phillips, (Sun Aug 5, 7:23 am)
Re: Terminology question about remote branches., David Kastrup, (Sun Aug 5, 8:09 am)
Re: Terminology question about remote branches., Julian Phillips, (Sun Aug 5, 8:24 am)