howto: Update git clone command to something that actually works.
authorAndrew Kroeger <andrew@sprocks.gotdns.com>
Thu, 8 May 2008 17:57:29 +0000 (12:57 -0500)
committerAndrew Kroeger <andrew@sprocks.gotdns.com>
Sun, 18 May 2008 06:54:56 +0000 (01:54 -0500)
Made the command consistent with the one presented in the Wiki HOWTO.

Thanks to Matthias Wallnöfer <mwallnoefer@yahoo.de> for pointing this one out.

howto.txt

index d128baa5bd47ca483ab3262b2ad1a2ce573cc259..ae9b0e284845e68f9150640c5ecbcd06f4c9cea2 100644 (file)
--- a/howto.txt
+++ b/howto.txt
@@ -27,7 +27,7 @@ There are 2 methods of doing this:
 
   method 1:  "rsync -avz samba.org::ftp/unpacked/samba_4_0_test/ samba4"
 
-  method 2:  "git clone git://git.samba.org/samba.git samba4; cd samba4; git checkout v4-0-test; cd .."
+  method 2:  "git clone git://git.samba.org/samba.git samba4; cd samba4 && git checkout -b v4-0-test origin/v4-0-test; cd .."
 
 both methods will create a directory called "samba4" in the current
 directory. If you don't have rsync or git then install one of them.