ZZ: http://blog.csdn.net/herbert5069/article/details/6859563
$ Git stash can be used to temporarily store ongoing work, for example, to update pullCodeAnd don't want to add a new commit, or in another case, to fix an urgent bug, stash first, so that it returns to itself a commit, and stash pop after fixing the bug, continue the original work.
Basic commands:
$ Git stash
$ Do some work
$ Git stash pop
Advanced:
After you use the 'git stash 'command multiple times, your stack will be full of uncommitted Code. At this time, you will be confused about which version will be applied back, the 'git stash list' command can print the current git stack information. You only need to find the corresponding version number, for example, you can use 'git stash apply stash @ {1} 'to obtain the job with the specified version number stash @ {1, when you apply all the stacks back, you can use 'git stash clear' to clear the stacks.