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:
parent
0dd661ab77
commit
bae335007d
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue