diff options
Diffstat (limited to 'ikiwiki/bin/post-receive')
-rwxr-xr-x | ikiwiki/bin/post-receive | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ikiwiki/bin/post-receive b/ikiwiki/bin/post-receive index 9c79a40..47d4f79 100755 --- a/ikiwiki/bin/post-receive +++ b/ikiwiki/bin/post-receive @@ -9,6 +9,7 @@ unset GIT_DIR if [ -d ".git/annex" ]; then git annex sync else + git config receive.denyCurrentBranch ignore git reset HEAD git checkout -f fi |