Guest User

Untitled

a guest
Oct 20th, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. Just note to use the last_working_commit_id, when reverting a non-working commit
  2.  
  3. git reset --hard <last_working_commit_id>
  4. So we must not reset to the commit_id that we don't want.
  5.  
  6. Then sure, we must push to remote branch:
  7.  
  8. git push --force
Add Comment
Please, Sign In to add comment