0

We have own linux server, with a git server. But for some reasons we create bitbucket account (private repos) and now we want use it as "backup".

Now i want set when someone push code on own server -> server make other push on bitbucket.

It is possible? Has someone script for this or some idea .....?

tonykapa89
  • 25
  • 3
  • 2
    http://stackoverflow.com/questions/6882017/git-hook-post-receive-and-remote-repository-git-pull – ebaxt Oct 25 '12 at 16:09
  • @ebaxt looks to have linked you to an existing near-identical question, with the answer you're looking for – AD7six Oct 25 '12 at 16:13

1 Answers1

0

I believe you can do this via git post-receive hook.

che
  • 12,097
  • 7
  • 42
  • 71