Skip to content

Repo Defaults like privat=true and branch=main #587

Answered by aymanbagabas
bw9ubwo asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @bw9ubwo! In terms of default branch name, you could change that in Git config for the user running Soft Serve git config --global init.defaultBranch main.

You need to use the -p flag on the SSH command-line interface ssh your-soft-server repo create -p repo-name to create private repositories.
If you're the only one using the server, and don't care about multiple users, you could change the server anon-access to no-access and allow-keyless to false. Refer to the authentication section for more information.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by bw9ubwo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants