diff --git a/head b/head index 645d9b1..898701e 100755 --- a/head +++ b/head @@ -25,6 +25,7 @@ fi cd "/srv/git/$REPOSITORY" git symbolic-ref HEAD "refs/heads/$2" git config -f "/srv/git/$REPOSITORY/config" init.defaultBranch "$2" +git config -f "/srv/git/$REPOSITORY/config" cgit.defbranch "$2" echo "Changed HEAD of $REPOSITORY to refs/heads/$2"