- git checkout <old_name>
- git branch -m <new_name>
- git push origin -u <new_name>
- git push origin --delete <old_name>
Last active
July 14, 2020 07:52
-
-
Save gerlie-reyes/496ea2a960d6db42827fe3607ce14652 to your computer and use it in GitHub Desktop.
Mostly Used Git Commands
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
- git checkout <dest branch> | |
- git pull | |
- git checkout <feature branch> | |
- git pull origin <dest branch. | |
- fix conflicts | |
- git add <filenames> | |
- git commit -m "Fix merge conflicts" | |
- git push |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment