Answers for "git remove all local commits"

4

git remove all local commits

git reset --hard origin/<branch_name>
Posted by: Guest on April-18-2021
5

git delete local commit

git reset --hard origin/<branch_name>
Posted by: Guest on June-19-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language