[go: up one dir, main page]

Skip to content

Explain behaviour of branches on the git repository for wikis in gitlab

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Problem to solve

The documentation on the GitLab Wiki misses information on how branches are handled in the git repository that contains a projects wiki.

I can kind of get, that only the main branch will be shown, but what happens to branches introduced anyways? Will this have any effect? If no, I propose to add a statement:

Branches other than main can exist (created locally) but won't have any effect on the wiki itself. They will be found after cloning the repository, so other users can work with those."

to the page section https://docs.gitlab.com/ee/user/project/wiki/#create-or-edit-wiki-pages-locally

This could also/alternatively be added to

https://docs.gitlab.com/ee/user/project/wiki/#configure-a-default-branch-for-your-wiki

This would help as I couldn't find information regarding this anywhere.

If the proposed statement is untrue, please add information to the proposed section(s) accordingly.

Edited by 🤖 GitLab Bot 🤖