feature分支
$ git checkout -b feature-vulcan
Switched to a new branch 'feature-vulcan'$ git add vulcan.py
$ git status
On branch feature-vulcan
Changes to be committed:
(use "git reset HEAD <file>..." to unstage)
new file: hello.py
new file: vulcan.py
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: readme.md小结
Last updated
Was this helpful?