our branch is based on ‘origin/lhl‘, but the upstream is gone.

小飛俠_2018發表於2020-11-16
rm .git/refs/remotes/origin/master
git fetch
git branch --set-upstream-to=origin/master

 

相關文章