git pull keeping local changes

转自:https://stackoverflow.com/questions/10414769/git-pull-keeping-local-changes

There is a simple solution based on Git stash. Stash everything that you’ve changed, pull all the new stuff, apply your stash.

git stash
git pull
git stash pop

发布了755 篇原创文章 · 获赞 195 · 访问量 104万+

猜你喜欢

转载自blog.csdn.net/seamanj/article/details/103981722
今日推荐