XY BLOG

XY的BLOG

查看git stash 内容

Published on in Posts
Updated on
Short link: https://b.xyzt07.cn/s/6
Share this post
A ⇄ 文
⚠️ This entry is already over one year old. It may no longer be up to date. Opinions may have changed.

查看stash历史列表

git stash list

查看某个stash的变更文件

git stash show stash@{0}

查看某个stash的所有变更文件内容

git stash show -p stash@{0}

查看stash的具体某个文件的内容

git show stash@{0}:xxx/xxx.file