Guest User

Untitled

a guest
Feb 17th, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. # you have unfinished modifications to "save"
  2. git commit -am "temp"
  3. git push origin HEAD
  4.  
  5. # get your last commit like you usually do, let's say
  6. git pull
  7. # now let's "uncommit" the ugly temp
  8. git reset --soft HEAD^
  9. # and if you also want to have a clean index
  10. git reset HEAD
Add Comment
Please, Sign In to add comment