User Tools

Site Tools


scm:move_bitbucket_git_repo_to_github

This is an old revision of the document!


Move Existing Git Repository to Github

This process assumes you have access to the Agtek Github account. It also assumes you have access to the Agtek Bitbucket server. The result will be that all the source code as well as all the branches and history are moved into a Github repository.

Steps

  1. Create an empty repository on Github. The naming convention for Android is <App>_Android.
  2. Clone the repository to move from Bitbucket into your local space
  3. cd <Cloned Repository>
  4. git remote add upstream https://github.com/agtek/<Created Repo>.git (This path can be copied from Github)
  5. git push upstream master
  6. git push –tags upstream

You are done! Now make sure you don't continue to use Bitbucket. We will clean all that up at some point.

scm/move_bitbucket_git_repo_to_github.1565897240.txt.gz · Last modified: 2019/08/15 19:27 by timm