我在从不再存在的存储库中删除本地分支时遇到了一些问题。
William@WILLIAM /c/xampp/htdocs/apeppers (master)
$ git fetch --prune
fatal: repository 'https://williamcalderipe@bitbucket.org/williamcalderipe/myRepo.git/' not found
我想删除那个 '(master)'
William@WILLIAM /c/xampp/htdocs/apeppers (master)
$ git push origin :master
Password for 'https://williamcalderipe@bitbucket.org':
error: unable to delete 'master': remote ref does not exist
error: failed to push some refs to 'https://williamcalderipe@bitbuck
William@WILLIAM /c/xampp/htdocs/apeppers (master)
$ git branch -d master
error: Cannot delete the branch 'master' which you are currently on.