暗黑模式
bash
git branch new_branch # create a new branch
git checkout new_branch # switch to a existing branch
git switch -c new_branch # create and switch to a new branch
git push origin new_branch # push new_branch to remote
git push --set-upstream origin new_branch # push new_branch to remote, and set up to track remote branch
1
2
3
4
5
6
7
2
3
4
5
6
7