diff options
author | Joey Hess <joey@kitenet.net> | 2013-10-26 13:06:43 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-10-26 13:06:43 -0400 |
commit | 6cfae445899efcf58fb7ef10364123e1e4ef7ce9 (patch) | |
tree | 2a872b536bd57c895dc6d5b98655435450566209 /doc/bugs/How_can_I_solve_a_non-fast-forward_push_without_using_the_assistant__63__.mdwn | |
parent | 55e00fb19be4ab6b52c51daadae6b1083780db68 (diff) |
webapp: When setting up a bare shared repository, enable non-fast-forward pushes.
Diffstat (limited to 'doc/bugs/How_can_I_solve_a_non-fast-forward_push_without_using_the_assistant__63__.mdwn')
-rw-r--r-- | doc/bugs/How_can_I_solve_a_non-fast-forward_push_without_using_the_assistant__63__.mdwn | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/bugs/How_can_I_solve_a_non-fast-forward_push_without_using_the_assistant__63__.mdwn b/doc/bugs/How_can_I_solve_a_non-fast-forward_push_without_using_the_assistant__63__.mdwn index 5a1552c82..69b0c4116 100644 --- a/doc/bugs/How_can_I_solve_a_non-fast-forward_push_without_using_the_assistant__63__.mdwn +++ b/doc/bugs/How_can_I_solve_a_non-fast-forward_push_without_using_the_assistant__63__.mdwn @@ -285,3 +285,11 @@ Everything up-to-date # End of transcript or log. """]] + +> So, receive.denyNonFastforwards was the problem. It turns out that +> `git init --bare --shared` sets that by default, and the webapp +> uses that to create repositories on ssh server. I have made the webapp +> unset receive.denyNonFastforwards when setting up such a repository. +> +> Also added something to the assistant release notes about this +> to handle existing repositories. [[done]] --[[Joey]] |