Advertisement
Guest User

Untitled

a guest
Oct 17th, 2019
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. # Checkout the desired branch
  2. git checkout <branch>
  3.  
  4. # Undo the desired commit
  5. git revert <commit>
  6.  
  7. # Update the remote with the undo of the code
  8. git push origin <branch>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement