强制弃用本地分支更改
git reset --hard origin/branch-name
配置全局凭证
git config --global credential.helper libsecret
设置全部密码 用户名
git config --global user.password “1111”
git config --global user.name “1111”
开启凭证缓存
git config --global credential.helper store
强制弃用本地分支更改
git reset --hard origin/branch-name
配置全局凭证
git config --global credential.helper libsecret
设置全部密码 用户名
git config --global user.password “1111”
git config --global user.name “1111”
开启凭证缓存
git config --global credential.helper store