I have a git post receive hook that will trigger a build on my build system. I need to create a string of the form \"$repo-name + $branch\" in the hook script.
I can
If one is using Gitolite, the GL_REPO variable is available in the post-receive environment by default.
GL_REPO
post-receive