Why is old name of git remote sill in .git/refs/remotes?

痞子三分冷 提交于 2019-12-04 15:21:22

This thread mentions that renaming the remote isn't enough:

If you want to be really complete, you should also delete your 'origin' refs :

rm -R .git/refs/remotes/origin

A safer way would be to clone your new remote repo (now on GitHub), and add another remote.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!