My server-side bare git repo needs to periodically cherry-pick commits from a special branch onto master (executed from a hook).
Is there any way to avoid a checkout and do this directly in the bare repo?
Edit: Since the cherry-picking procedure is non-interactive, it is okay to completely error out if the cherry-pick isn't trivial to apply.