📅  最后修改于: 2022-03-11 14:51:25.664000             🧑  作者: Mango
#fetch last commit from remote
git fetch origin
#pipe commands
&&
#force reset
git reset --hard origin/master
#clean repo from untraced file "NOT Recommended"
git clean -f -d