Sud
Sud

Reputation: 121

Sync gitlab repository to bitbucket automatically

We have approx 1000 repositories on bitbucket. I have decided to put our repositories on our local server. Hence I have installed Gitlab on local server and integrate it with bitbucket from following link. http://docs.gitlab.com/ce/integration/bitbucket.html

Now, I can easily import repositories from bitbucket to gitlab. Now, I want that any changes in repositories(push, tag, branch) in gitlab will automate it to bitbucket without any clone in local server.

I have checked Gitlab-CI but not worked. http://abhipandey.com/2015/09/automated-git-mirror-with-github-or-gitlab-or-bitbucket/

Upvotes: 5

Views: 18035

Answers (1)

VonC
VonC

Reputation: 1326776

If you can upgrade to GitLab 8.7 (May 2016), this feature (mirorring to an external repo from GitLab) is now available.

See "Feature highlight: Push to a remote repository"

It can be configured in Settings → Mirror Repository

enter image description here

Upvotes: 3

Related Questions