Re: [PATCH 1/2] tutorial: Use "git remote add"
- From
Junio C Hamano <junkio@cox.net>
- Date
- Jan 12, 2007, 18:29 UTC
- Message-ID
- <7vmz4ot7x5.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <87sleg31av.fsf@gmail.com>
Santi Béjar <sbejar@gmail.com> writes:
Show 8 quoted lines
> @@ -285,10 +285,12 @@ at /home/bob/myrepo. She does this with: > > ------------------------------------------------ > $ cd /home/alice/project > -$ git pull /home/bob/myrepo master > +$ git remote add bob /home/bob/myrepo > +$ git pull bob master > ------------------------------------------------
I'd prefer to leave this as is, because I think ad-hoc promiscous pull shows the distributed nature of git better, and add a new step after that to teach "remote add", telling the user that "having to use longhand every time is tiresome, so there is a nifty way to define a shorthand for a remote repository you interact with often".
Other than that, I agree with the direction of your change to use separate remote layout instead of mixed "incoming" branches.