stash
- delete range of stash
- for i in {24..4}; do git stash drop stash@{$i}; done
临时切换到一个提交节点验证
1
2
3
4
5
git checkout 9f2e90c28f4581270708d112a15ba8795e7ad23c
...
git switch -
检查提交是否存在
git show 9f2e90c28f4581270708d112a15ba8795e7ad23c
1
2
3
4
5
git checkout 9f2e90c28f4581270708d112a15ba8795e7ad23c
...
git switch -
git show 9f2e90c28f4581270708d112a15ba8795e7ad23c