Skip to content

Commit 3af849a

Browse files
author
Junio C Hamano
committed
howto/using-topic-branches: Recommend public URL git://git.kernel.org/
Recommending this means subsystem maintainers do not have to log-in just to resync with upstream. Signed-off-by: Junio C Hamano <junkio@cox.net>
1 parent 112d0ba commit 3af849a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Documentation/howto/using-topic-branches.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,7 @@ So here is the step-by-step guide how this all works for me.
4242

4343
First create your work tree by cloning Linus's public tree:
4444

45-
$ git clone \
46-
master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6.git work
45+
$ git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git work
4746

4847
Change directory into the cloned tree you just created
4948

@@ -53,7 +52,7 @@ Set up a remotes file so that you can fetch the latest from Linus' master
5352
branch into a local branch named "linus":
5453

5554
$ cat > .git/remotes/linus
56-
URL: master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
55+
URL: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
5756
Pull: master:linus
5857
^D
5958

0 commit comments

Comments
 (0)