A git command will overwrite the remote to the local

git fetch && git reset --hard origin/master && git pull

 

Guess you like

Origin blog.csdn.net/zhunju0089/article/details/103485359