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
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
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 all works, but when executed inside the hook I
get:
*Unable to create : Permission denied*
I