Open mangreen opened 7 years ago
https://confluence.atlassian.com/bitbucket/change-the-remote-url-to-your-repository-794212774.html
# For SSH git remote set-url origin git@bitbucket.org:{new team or account name}/{repository name}.git
# For HTTPS git remote set-url origin https://{username}@bitbucket.org/{new team or account name}/{repository name}.git
# For SSH git remote set-url --push origin git@bitbucket.org:{new team or account name}/{repository name}.git
# For HTTPS git remote set-url --push origin https://{username}@bitbucket.org/{new team or account name}/{repository name}.git
Change the remote URL to your repository
https://confluence.atlassian.com/bitbucket/change-the-remote-url-to-your-repository-794212774.html
1. Navigate to your repository's directory in a terminal window using the command cd path/to/your/repository.
2. Run the following command (which modifies the fetch URL) from your terminal window:
3. Run the following command (which modifies the push URL) from your terminal window: