Answers for "git move last commit to different branch"

5

move to last commit

git reset --hard HEAD
Posted by: Guest on May-12-2020
0

git move back one commit

# This will detach your HEAD, that is, leave you with no branch checked out:
git checkout 0d1d7fc32
Posted by: Guest on November-06-2020

Browse Popular Code Answers by Language