Associating your local repo to a repo in third party Git repository, say Bitbucket.
Step 1: Switch to your repository's directory
Step 2: Connect your existing repository to Bitbucket
List your existing remotes in order to get the name of the remote you want to change.
Change your remote's URL from SSH to HTTPS with the git remote set-url command.
Checking out a particular tag Get all tags:
Checkout a particular tag
-- https://help.github.com/articles/changing-a-remote-s-url/ https://stackoverflow.com/questions/35979642/how-to-checkout-remote-git-tag/35981459
cd /path/to/your/repoStep 2: Connect your existing repository to Bitbucket
git remote add origin git@bitbucket.org:username/your-repo-name.git
// ... Series of commits...
git push -u origin masterList your existing remotes in order to get the name of the remote you want to change.
git remote -vChange your remote's URL from SSH to HTTPS with the git remote set-url command.
git remote set-url origin https://github.com/USERNAME/REPOSITORY.gitChecking out a particular tag Get all tags:
git fetch --all --tags --pruneCheckout a particular tag
git checkout tags/-- https://help.github.com/articles/changing-a-remote-s-url/ https://stackoverflow.com/questions/35979642/how-to-checkout-remote-git-tag/35981459