Thread (1 message) 1 message, 1 author, 2016-06-15

Re: Where/how to create tracking branches?

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:55

Bill Lear [off-list ref] writes:
On Monday, February 19, 2007 at 11:43:36 (-0800) Junio C Hamano writes:
quoted
...
Assuming your clone was initially made from /public/repo/project,
doesn't "git fetch" without _any_ parameter work?

$ git fetch
Short answer: yes, it does.  I had assumed I needed to create the
tracking branch somehow since I created the topic branch in the first
place in my private repo.  More detailed confirmation follows, but
thank you for pointing out that git is in fact smarter than I gave
it credit.
Tracking new branches on the remote side after you create a
clone is one of the few things 1.5.0 does much better than 1.4.4
series, and it was done in response to comments from real world
users like yourself, so rather than giving git too much credit,
I think you should take it yourself ;-).
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help