Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # you have unfinished modifications to "save"
- git commit -am "temp"
- git push origin HEAD
- # get your last commit like you usually do, let's say
- git pull
- # now let's "uncommit" the ugly temp
- git reset --soft HEAD^
- # and if you also want to have a clean index
- git reset HEAD
Add Comment
Please, Sign In to add comment