git stash的使用

来源:互联网 发布:C语言下列说法正确的是 编辑:程序博客网 时间:2024/05/16 11:39

具体的git stash使用方法参考 储藏(Stashing)

http://stackoverflow.com/questions/11269256/how-to-name-and-retrieve-a-stash-by-name-in-git

For example, when saving your stash with a save name:

git stash save "guacamole sauce WIP"

… you can use a regular expression to address that stash:

git stash apply stash^{/guacamo}

list all the stash:

git stash list
0 0
原创粉丝点击