how to sync repos of bitbucket on github?

i have some projects on git and some on bitbucket,

so my client needs as if some changes are made in repo in bitbucket then it must be reflected in github.

  • How to convert a remote branch into a local one in Eclipse using Bitbucket?
  • Git remove last commits from remote made by someone else
  • Can I work with git locally and sync to Plastic SCM server
  • Test to determine if git clone command succeeded
  • Use of media files with GIT on Bitbucket?
  • Pushing new files to new repo
  • i want to do it in c#

    is there any api etc?

  • Git Garbage collection doesnt seem to fully work
  • GIT: remove remote branches with no local tracking branch
  • GitPython equivalent of “git remote show origin”?
  • How can I verify that a git project's release branch's fixes have all been merged into master?
  • How to install latest version of git on CentOS 6.x/7.x
  • Using git-svn, how do I dcommit tags?
  • 3 Solutions collect form web for “how to sync repos of bitbucket on github?”

    I just finished (mostly) a project to sync your GitHub repositories to BitBucket automatically (by deploying it to some cloud services):

    https://github.com/xuhdev/backup-on-the-go#readme

    It is written in Ruby (Not in C#, sorry), but you don’t need to know ruby to make it work. But you may need to change your workflow a little bit (push to GitHub instead of BitBucket).

    HTH

    See this project to see if it is of any help: https://bitbucket.org/sramana/bitbucket2github

    It is in Python, but you can see the steps involved.

    And there is no automated direct sync between the two hosts. You can use local hooks to do make sure the sync happens

    Or you can take the simple route and just push to both ( or have a hook which will push to the other)

    There is gitsharp.

    Git Baby is a git and github fan, let's start git clone.