Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git stash 隐藏和恢复工作区 | 小时候 #6

Open
ToApr opened this issue Nov 21, 2019 · 0 comments
Open

git stash 隐藏和恢复工作区 | 小时候 #6

ToApr opened this issue Nov 21, 2019 · 0 comments

Comments

@ToApr
Copy link
Owner

ToApr commented Nov 21, 2019

https://toapr.github.io/2019/11/21/gitstash/

git stash保存当前工作进度,会把暂存区和工作区的改动保存起来。执行完这个命令后,在运行git status命令,就会发现当前是一个干净的工作区,没有任何改动。使用git stash save ‘message…’可以添加一些注释 git stash list查看隐藏的进度的列表。意味着git stash 可以执行多次。 git stash pop [–index] [stash_id] g

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant