From 6cb1d97f59fdcb29ec870b23712ef3b389cd5514 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Tue, 9 Jun 2015 01:13:03 +0300 Subject: [PATCH] Add more details about initial cloning --- pep-git.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pep-git.txt b/pep-git.txt index 6365fb8..5f1c1c9 100644 --- a/pep-git.txt +++ b/pep-git.txt @@ -118,10 +118,15 @@ done something like that:: $ cd python $ git branch v1 origin/v1 +The first command clones remote repository into local directory +`python``, creates a new local branch v2, sets remotes/origin/v2 as +its upstream remote branch and checks it out into the working +directory. + The last command creates a new local branch v1 and sets remotes/origin/v1 as its upstream remote branch. -The same result can achieved with commands:: +The same result can be achieved with commands:: $ git clone -b v1 http://git.python.org/python.git $ cd python -- 2.39.2