配置git主动保留用户名和明码 git config --global credential.helper store抛弃本地批改,并更新代码 git fetch --allgit reset --hard origin/master