Answers for "commit reset soft"

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
6

git soft reset head

git reset --soft HEAD^
//resets head by 1
Posted by: Guest on August-13-2020

Browse Popular Code Answers by Language