[or-cvs] [githax/master] to make a new branch from another branch, use branch, not checkout
Nick Mathewson
nickm at seul.org
Mon May 25 00:20:13 UTC 2009
Author: Sebastian Hahn <sebastian at torproject.org>
Date: Sun, 24 May 2009 23:20:26 +0200
Subject: to make a new branch from another branch, use branch, not checkout
Commit: 3bc57bac47fd36ebcd66add0d5d783eb4da089bc
noticed by arma
---
doc/Howto.txt | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/doc/Howto.txt b/doc/Howto.txt
index 87aa3ca..4b50c61 100644
--- a/doc/Howto.txt
+++ b/doc/Howto.txt
@@ -388,7 +388,7 @@ published branches, and make a local branch that tracks his ftp branch:
-----
% git remote add nick git://git.torproject.org/~nickm/git/PROJECT
% git fetch nick
-% git checkout -b nick_ftp nick/ftp
+% git branch --track nick_ftp nick/ftp
-----
This will have switched you to your new local branch nick_ftp, and you can
--
1.5.6.5
More information about the tor-commits
mailing list