git stash

Posted 小兵

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了git stash相关的知识,希望对你有一定的参考价值。

?

https://git-scm.com/docs/git-stash

?

NAME

git-stash - Stash the changes in a dirty working directory away

SYNOPSIS

git stash list [<options>]
git stash show [<stash>]
git stash drop [-q|--quiet] [<stash>]
git stash ( pop | apply ) [--index] [-q|--quiet] [<stash>]
git stash branch <branchname> [<stash>]
git stash [save [-p|--patch] [-k|--[no-]keep-index] [-q|--quiet]
	     [-u|--include-untracked] [-a|--all] [<message>]]
git stash clear
git stash create [<message>]
git stash store [-m|--message <message>] [-q|--quiet] <commit>
?
?

以上是关于git stash的主要内容,如果未能解决你的问题,请参考以下文章