Re: Terminology question about remote branches.

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Lars Hjemli <hjemli@...>
Cc: Jeff King <peff@...>, <git@...>
Date: Saturday, August 4, 2007 - 10:25 am

David Kastrup <dak@gnu.org> writes:


Ok, let's have another go.  Maybe I have understood more as compared
with last time.

git-branch/git-commit -b creates and manages local branches, nothing
else.  Local branches' defining feature is that they have a branch
head I can move around myself.

Then there are non-local branches.  Their defining feature is that
they have no locally moving branch head and _must_ track a remote
branch.

But local branches _also_ can track the progress/head of a remote
branch.  Since they have a locally moving branch head, this will often
lead to merge conflicts which must be resolved.

So this is more or less what I understand now.  There really is no
difference between "tracking" and "following" as I thought previously.
It is just that a local branch which happens to track a remote branch
is basically a remote tracking branch with a head of its own.

Which means it can get merge conflicts.  Can we get merge conflicts
with a remote tracking branch, too?  Namely when the remote branch
messed with its history, rebased/reverted stuff?

So that the real difference between a local and a remote tracking
branch is not that the latter tracks a remote branch (the former can
do that as well), but that the latter has no local branch head and
that saves us a lot (but not necessary all) merge conflicts?

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum
-
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, 6:55 am)
Re: Terminology question about remote branches., Junio C Hamano, (Sun Aug 5, 3:31 am)
Re: Terminology question about remote branches., Julian Phillips, (Sun Aug 5, 10:23 am)
Re: Terminology question about remote branches., David Kastrup, (Sun Aug 5, 11:09 am)
Re: Terminology question about remote branches., Julian Phillips, (Sun Aug 5, 11:24 am)
Re: Terminology question about remote branches., Steffen Prohaska, (Sun Aug 5, 6:07 am)
Re: Terminology question about remote branches., David Kastrup, (Sat Aug 4, 10:01 am)
Re: Terminology question about remote branches., Jeff King, (Sun Aug 5, 6:05 am)
Re: Terminology question about remote branches., Steffen Prohaska, (Sun Aug 5, 6:56 am)
Re: Terminology question about remote branches., Jeff King, (Sun Aug 5, 7:02 am)
Re: Terminology question about remote branches., Jeff King, (Sun Aug 5, 6:10 am)
Re: Terminology question about remote branches., David Kastrup, (Sat Aug 4, 11:22 am)
Re: Terminology question about remote branches., Jeff King, (Sat Aug 4, 8:02 am)
Re: Terminology question about remote branches., David Kastrup, (Sat Aug 4, 8:36 am)
Re: Terminology question about remote branches., Jeff King, (Sun Aug 5, 5:21 am)
Re: Terminology question about remote branches., David Kastrup, (Sun Aug 5, 5:29 am)
Re: Terminology question about remote branches., Jeff King, (Sun Aug 5, 5:32 am)
Re: Terminology question about remote branches., David Kastrup, (Sun Aug 5, 5:44 am)
Re: Terminology question about remote branches., Jeff King, (Sun Aug 5, 5:46 am)
Re: Terminology question about remote branches., Lars Hjemli, (Sat Aug 4, 9:07 am)
Re: Terminology question about remote branches., David Kastrup, (Sat Aug 4, 1:00 pm)
Re: Terminology question about remote branches., Julian Phillips, (Sat Aug 4, 1:19 pm)
Re: Terminology question about remote branches., David Kastrup, (Sat Aug 4, 2:00 pm)
Re: Terminology question about remote branches., Theodore Tso, (Sat Aug 4, 6:56 pm)
Re: Terminology question about remote branches., David Kastrup, (Sun Aug 5, 3:06 am)
Re: Terminology question about remote branches., David Kastrup, (Sat Aug 4, 9:38 am)
Re: Terminology question about remote branches., Lars Hjemli, (Sat Aug 4, 10:03 am)
Re: Terminology question about remote branches., David Kastrup, (Sat Aug 4, 10:11 am)
Re: Terminology question about remote branches., David Kastrup, (Sat Aug 4, 10:25 am)
Re: Terminology question about remote branches., Julian Phillips, (Sat Aug 4, 10:50 am)
Re: Terminology question about remote branches., Lars Hjemli, (Sat Aug 4, 10:35 am)
Re: Terminology question about remote branches., David Kastrup, (Sat Aug 4, 11:09 am)
Re: Terminology question about remote branches., Jeff King, (Sun Aug 5, 5:24 am)
Re: Terminology question about remote branches., Lars Hjemli, (Sat Aug 4, 11:48 am)