Rename remote branch

后端 未结 2 1274
南旧
南旧 2021-02-20 07:52

I have created a local branch X that at some point I pushed to remote server (origin)

git push origin X

I realized it\'s a bad idea to have bra

2条回答
  •  没有蜡笔的小新
    2021-02-20 08:46

    If others have pulled the branch to their local repositories it is not safe to delete it. One route to consider is deleting all the files from the old branch. Leave a README pointing to the new branch.

提交回复
热议问题