1. stash特定文件

1
git stash push [-m message] <path>...

2. 展示stash内容

1
git stash show [-p] <index>

<index>为stash索引号数字,不带-p选项只显示变动文件名,带上-p显示变动内容