git stash
储藏修改
git stash$ git status
Changes to be committed:
(use "git reset HEAD <file>..." to unstage)
modified: index.html
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: lib/simplegit.rbgit stash
Saved working directory and index state WIP on master: 84dfd50 this is change at github mastergit status
# On branch master
nothing to commit, working directory clean取回修改
注意事项
删除储藏修改
Last updated
Was this helpful?