1. git reset --hard
git pull --rebase
2. git stash
http://www.cnblogs.com/craftor/archive/2012/11/04/2754149.html
http://blog.chinaunix.net/uid-25871104-id-3419159.html
本文介绍了Git中常用的命令,包括如何使用git reset --hard进行硬重置以丢弃工作区的修改,通过git pull --rebase将远程分支更新到本地分支,并使用git stash暂存未完成的工作以便稍后恢复。
1. git reset --hard
git pull --rebase
2. git stash
http://www.cnblogs.com/craftor/archive/2012/11/04/2754149.html
http://blog.chinaunix.net/uid-25871104-id-3419159.html

被折叠的 条评论
为什么被折叠?