Last active
July 13, 2020 12:04
-
-
Save Yougigun/62be433c528c9c4ae430844358c0f14e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# creat branch | |
git branch <branch name> | |
# delete a branch (not merge yet) | |
git branch -d <brannch name> | |
# delete a branch( no matter) | |
git branch -D <branch name> | |
# swithc to the branch | |
git checkout <branch nane> | |
# create the branch and swithc to the one | |
git checkout -b <branch name> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment