From f94dbc4b70888069cf4c8475fcf5f7e349fcce7e Mon Sep 17 00:00:00 2001 From: Yves Fischer Date: Tue, 11 Apr 2017 21:17:32 +0200 Subject: by default allow non-fast-forward push --- git-repo | 1 + 1 file changed, 1 insertion(+) diff --git a/git-repo b/git-repo index 885aae2..2d79ca7 100755 --- a/git-repo +++ b/git-repo @@ -81,6 +81,7 @@ _create_repo() { mkdir -p "$repo_dir" git init -q --bare --shared=$shared "$repo_dir" + git config receive.denyNonFastforwards false chgrp -R "$group" "$repo_dir" echo "$repo_desc" > "$repo_dir/description" -- cgit v1.2.1