Skip to content

Instantly share code, notes, and snippets.

@siwalikm
Created January 8, 2019 08:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save siwalikm/add125ae0924ddf8e057f3bc38bd8073 to your computer and use it in GitHub Desktop.
Save siwalikm/add125ae0924ddf8e057f3bc38bd8073 to your computer and use it in GitHub Desktop.
Clone repo from Bitbucket to Github
$ git clone https://user@bitbucket.org/user/project_name.git
$ cd project_name
# create new respository in github eg. `cloned_project`
$ git remote add upstream git@github.com:user/cloned_project.git
$ git push upstream master
$ git push --tags upstream
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment