Skip to content

Commit c361477

Browse files
committed
specify branch
1 parent 54a81b0 commit c361477

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,10 @@ git clone [email protected]:django/django.git --depth 1 --no-single-branch
151151

152152
`git clone [email protected]:django/django.git --depth 1 --no-single-branch`
153153

154+
如果你想要指定分支, 加上 `-b`,
155+
156+
`git clone [email protected]:django/django.git --depth 1 --no-single-branch -b stable/3.1.x`
157+
154158
如要 clone 最近一次的 history,而且**不需要**其他 branch,使用如下,
155159

156160
`git clone [email protected]:django/django.git --depth 1 --single-branch`

0 commit comments

Comments
 (0)