Local Git has not submitted documents directly to pull the distal end of the latest version

This first branch sent to master reset Head

git checkout master 
git reset --hard

git pull force and overwriting the local file

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

 

Guess you like

Origin www.cnblogs.com/Jery-9527/p/11724182.html