Created
December 18, 2019 06:35
-
-
Save Nazmul56/bc250a0b595fc1c70936c310fbf9d4b6 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
1. Oops… I spelled that last commit message wrong | |
git commit --amend | |
2. Oops… I forgot to add a file to that last commit | |
git add missed-file.txt | |
git commit --amend | |
5. Oops… I made a spelling mistake in my branch name | |
git branch -m future-brunch feature-branch | |
git push origin --delete future-brunch | |
git push origin feature-branch | |
https://about.gitlab.com/blog/2018/08/08/git-happens/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment