git reset head to commit soft code example
Example: git soft reset 1 commit
# reset one commit
git reset --soft HEAD~1
# reset to s specefic commit point
git reset --soft <COMMIT ID>
# reset one commit
git reset --soft HEAD~1
# reset to s specefic commit point
git reset --soft <COMMIT ID>