git项目更新:1. 想保留自身的修改。 git stash git pull origin master git stash pop 2. 不想保留 git reset --hard git pull