I was working on a project that was hosted on Github. My project was hosted on Bitbucket. Both of them uses git. Now I have to create a fork of project in my Bitbucket repository. In order to be able to get updates and without downloading and replacing all the project then commit and push it.
This issue was resolved later by making a clone from Github and pushing to Bitbucket
$ git clone https://github.com/project/project
$ git push git@bitbucket.org:mg/project.git master
These commands will move the source from GitHub to Bitbucket without having to download any zip files or tarballs
Firstly, I have created mg/project as an empty Git repository in Bitbucket. Then you can push/pull changesets from GitHub to Bitbucket.
That's all!
Thanks for reading the blog.
1 Comment(s)