git discard local changes force update

git discard local changes force update

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

git fetch just downloads the contents of the remote library without doing any merging git reset points HEAD to the latest version just downloaded

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326019706&siteId=291194637