Answers for "git soft reset 1 commit"

1

git soft reset 1 commit

# reset one commit
git reset --soft HEAD~1
# reset to s specefic commit point
git reset --soft <COMMIT ID>
Posted by: Guest on April-21-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language