Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

delete commit from PR

# 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>
Source by newbedev.com #
 
PREVIOUS NEXT
Tagged: #delete #commit #PR
ADD COMMENT
Topic
Name
7+6 =