Answers for "soft reset n commits git"

7

git soft reset 1 commit

# reset one commit
git reset --soft HEAD~1
# reset to 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