Answers for "git erase all commits from branch"

8

git remove all local commits

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

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language