Last active
November 30, 2021 15:38
-
-
Save nara-l/9f52396ce83c69f9de355d7ca49e1750 to your computer and use it in GitHub Desktop.
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
1. Multiple branches: | |
https://marketplace.visualstudio.com/items?itemName=donjayamanne.githistory | |
2.https://stackoverflow.com/questions/42112526/how-to-compare-different-branches-in-visual-studio-code |
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 branch iss53 | |
$ git checkout iss53 | |
after update on iss53 - mearge changes into current release | |
git merge hotfix | |
git branch -d hotfix - delete branch | |
https://git-scm.com/book/en/v2/Git-Branching-Basic-Branching-and-Merging | |
5. Undo latest local commit : git reset --soft HEAD~1 | |
https://devconnected.com/how-to-undo-last-git-commit/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment