Last active
January 1, 2016 17:49
-
-
Save Mashpy/8179283 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
git rebase -i dd61ab23^ | |
This will open and editor showing a list of all commits. Delete the one you want to get rid off. Finish the rebase and push force to repo. | |
git rebase --continue | |
git push <<remote>> -f | |
574 git reset --hard 2633cabf1b7cfe4561c2781cc666e73fcbfc32c1 | |
575 git push origin HEAD --force | |
git rm . -r --cached | |
git add . | |
git commit -m "fixed untracked files" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment