Command correction

Replace git branch -b fix/bug-123   with  git checkout [-b] fix/bug-123.
Add comment about -b parameter, if branch already exist, the command do not create (correct) and do not checkout a new branch without info.
This commit is contained in:
dcast78 2017-09-18 13:09:09 +02:00 committed by GitHub
parent 0dd661ab77
commit bae335007d

View file

@ -395,7 +395,7 @@ Il comando commit ha le opzioni **--ff-only** e **--no-ff** per decidere come co
## Risoluzione dei conflitti
$ git branch -b fix/bug-123
$ git checkout [-b] fix/bug-123 #Il parametro -b va usato se il branch fix/bug-123 non e' gia stato creato (slide precedente)
$ # editiamo file.txt
$ git add file.txt
$ git commit