Answers for "git set head to commit local"

0

git set head to commit

# Set a new HEAD to a branch
# Note that commit can be a commit hash or tag or another branch
git reset --hard $COMMIT
Posted by: Guest on November-22-2020

Code answers related to "git set head to commit local"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language