Git Pull 覆盖本地文件

Git Pull 覆盖本地文件

放弃对于本地的项目中修改,Git pull强制覆盖

1
2
3
git fetch --all
git reset --hard origin/master
git pull

评论

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×