I think this is the easiest way:
- Rename your project from the bitbuck settings menu
- Clone a recently renamed project
This works because git is a distributed version control system. As for git, there is nothing special about an existing repo on your computer. Just clone the new one.
If you prefer to use an existing local repo, in my opinion, it is easier to use git to update itself, instead of manually editing the configuration file:
- Rename your project from the bitbuck settings menu
- Change directory in local project and upgrade git to extract data from recently renamed repo
git remote set-url origin new_url
- Optional (git doesn't matter) rename the local project directory
mv projectname newprojectname
frederickf Aug 01 '15 at 5:42 on 2015-08-01 05:42
source share