Storage > Git: branch name in settings ignored, causes errors with sync "invalid branch" #7313
Unanswered
dawidp
asked this question in
Error / Bug Report
Replies: 1 comment 1 reply
-
quick fix change git default branch name before setting Storage > Git: git config --global init.defaultBranch main but this works until you update container. After re-pulling the container is all back to beginning... |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Git server: self-hosted Gitea (Version: 1.21.10)
Git Auth type: basic
Wikijs: version 2.5.303 (docker image: requarks/wiki:2)
When configuring Storage > Git, the
The branch to use during pull / push
setting is ignored when creating local repo, making the default branch namemaster
instead of specified which leads to sync errors:when local repo inside container is inspected the branch name is
master
and pushing changes fails:docker logs:
Beta Was this translation helpful? Give feedback.
All reactions