From 4ebd6b84a86adafc21e8b5c90ef681602430e7c4 Mon Sep 17 00:00:00 2001 From: luokexue Date: Sat, 16 Apr 2016 11:45:41 +0800 Subject: [PATCH] doc: Fixes "branch -b" to "checkout -b" Signed-off-by: luokexue --- doc/dev/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/dev/index.rst b/doc/dev/index.rst index 7a5ce68af9c11..55794d644071b 100644 --- a/doc/dev/index.rst +++ b/doc/dev/index.rst @@ -479,7 +479,7 @@ Next, create a branch for the bugfix: .. code:: $ git checkout master - $ git branch -b fix_1 + $ git checkout -b fix_1 $ git push -u origin fix_1 This creates a ``fix_1`` branch locally and in our GitHub fork. At this -- 2.39.5