Re: [PATCH 1/2] tutorial: Use "git remote add"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Santi Béjar <sbejar@xxxxxxxxx> writes:

> @@ -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.

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]