diff --git a/Git/git.md b/Git/git.md index 7ae522f..8e9bf13 100644 --- a/Git/git.md +++ b/Git/git.md @@ -214,7 +214,7 @@ It’s generally recommended creating annotated tags so it's possible to have al `git reset `: undo all commits after specified commit, preserving changes locally `git checkout `: discard changes `git checkout -- `: discard changes, no output to screen -`git reset --hard`: discard all changes since last commit +`git reset --soft `: revert to specific commit but keep changes and staged files `git reset --hard `: discard all history and changes back to specified commit `git rebase -i HEAD~`: modify (reword, edit, drop, squash, merge, ...) *n* commits