Created
February 26, 2019 17:59
-
-
Save MirzaMerdovic/9f0a95e22b3f95db1333ec1af8db4a30 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
# Add all files and commit | |
git add . | |
git commit | |
# Rebase master to working branch | |
git rebase master -i | |
# Rebase and fixup N commits on master | |
In example below N = 2 | |
git rebase HEAD~2 -i | |
# Edit the last commit message | |
git commit --amend |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment