Re: [git-users] mirror repository from server hook

2016-12-20 Thread tombert
thx to all of you. This works: git push --mirror http://something.something/repo Sidenote: What I did not mention was that is a hook inside a GitLab repository. I hoped that the problem is independently. -- You received this message because you are subscribed to the Google Groups "Git for

Re: [git-users] mirror repository from server hook

2016-12-19 Thread Konstantin Khomoutov
On Sat, 17 Dec 2016 16:27:25 -0800 (PST) tombert wrote: > Inside the server pre-receive hook I configure a new remote and push > to it. Similar to this: > > *git remote add test http://something.something/repo* > *git push --mirror test* > > From the bash command line