按使用场景分组,点击"复制"按钮一键复制命令
git restore <file>
git restore .
git restore --staged <file>
git revert <commit>
git reset --soft <commit>
git reset --hard <commit>
git commit --amend
git reflog
git branch <name> <commit>
git stash
git stash list
git stash pop