On Sat, Dec 22, 2012 at 11:57 PM, Junio C Hamano <gits...@pobox.com> wrote:
> Andreas Schwab <sch...@linux-m68k.org> writes:
>> This is not limited to HEAD, any ref may want to be set up as a symref
>> at a remote repo.  For example, I want to set up a symref master ->
>> trunk at a repository I have no shell access to.
> That is exactly the "hosting side does not give you an easy way so
> pushing seems to be one plausible but not necessarily has to be the
> only way" case, so it is already covered in the discussion.

Just a minor FYI (and at the risk of tooting my own horn) but if the
hosting side is gitolite, you can.set it up so that any user with
write permissions to the repo can run 'git symbolic-ref' with
arbitrary arguments even though he does not get a shell.

The "-m <reason>" has some constraints because gitolite does not allow
a lot of characters in arguments to remote commands but that's mostly
useless unless you have core.logAllRefUpdates set anyway.
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to