Browse Source

Fix command git branch -b fix/bug-123

Correction of command with git checkout -b fix/bug-123 ( -b <branch> create and checkout a new branch)
dcast78 6 years ago
parent
commit
0dd661ab77
1 changed files with 1 additions and 1 deletions
  1. 1 1
      git-crash-course.md

+ 1 - 1
git-crash-course.md

@@ -369,7 +369,7 @@ Creare e spostarsi in un singolo comando:
 
 ## Rimettere insieme i pezzi: merge
 
-    $ git branch -b fix/bug-123
+    $ git checkout -b fix/bug-123
     $ # editiamo nuovofile.txt
     $ git add nuovofile.txt
     $ git commit