Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Checkout the desired branch
- git checkout <branch>
- # Undo the desired commit
- git revert <commit>
- # Update the remote with the undo of the code
- git push origin <branch>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement