Easiest way to rename git project configured on BitBucket

前端 未结 4 1759
孤独总比滥情好
孤独总比滥情好 2021-02-03 16:51

I have a project hosted on BitBucket

Can I rename it ?

If not and I need to create a new repository can someone tell me the easiest way to do that and have new r

4条回答
  •  一生所求
    2021-02-03 17:19

    To rename your bitbucket repo you can do 2 simple actions:

    1. Rename your repository name in bitbucket repository settings(Your repository>Settings>Name field)
    2. (In case if you have the repository cloned to local machines) In project root directory go to .git folder, then open config file. Change all the old repo names to new repo one.

提交回复
热议问题