Answers for "how to undo the previous commit and make new commits on remote"

0

git reset back to previous pushed commit

git reset --hard 'xxxxx'

git clean -f -d

git push -f
Posted by: Guest on August-13-2021
0

Reset a remote branch to previous commit

git reset --hard HEAD^
Posted by: Guest on January-08-2022

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language