diff options
author | Yves Fischer <yvesf-git@xapek.org> | 2017-04-11 21:17:32 +0200 |
---|---|---|
committer | Yves Fischer <yvesf-git@xapek.org> | 2017-04-11 21:17:32 +0200 |
commit | f94dbc4b70888069cf4c8475fcf5f7e349fcce7e (patch) | |
tree | e0b13f6372bf24fbd6e8fff3d308c64d32b3bd7e | |
parent | 7579ce9e26740725708d48f9911d9711814767e3 (diff) | |
download | git-repo-f94dbc4b70888069cf4c8475fcf5f7e349fcce7e.tar.gz git-repo-f94dbc4b70888069cf4c8475fcf5f7e349fcce7e.zip |
by default allow non-fast-forward push
-rwxr-xr-x | git-repo | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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" |