Code of Conduct
What article on docs.github.com is affected?
Repository limits
What part(s) of the article would you like to see updated?
This page lacks limits for repository names.
Limits I have discovered:
- Maximum length: 100 characters. For names that are too long, GitHub displays an error message: "Name cannot be more than 100 characters" (This is already documented at Creating a new repository, but it would be better to document all the limits at one place.)
- Allowed characters: ASCII letters, digits, and the characters
., -, and _. For names containing non-ASCII characters, GitHub converts all non-ASCII characters to -, and displays a hint: "Your new repository will be created as SANITIZED_REPO. The repository name can only contain ASCII letters, digits, and the characters ., -, and _."
- Repository names must not end with
.git. If the repository name ends with .git, GitHub displays a hint "The .git extension will be removed." and automatically removes the suffix.
- Repository names must not end with
.wiki. If the repository name ends with .wiki, GitHub displays an error message: "The repository REPO cannot end in .wiki" and refuses to create it.
There may be more.
Additional information
No response
Code of Conduct
What article on docs.github.com is affected?
Repository limits
What part(s) of the article would you like to see updated?
This page lacks limits for repository names.
Limits I have discovered:
.,-, and_. For names containing non-ASCII characters, GitHub converts all non-ASCII characters to-, and displays a hint: "Your new repository will be created as SANITIZED_REPO. The repository name can only contain ASCII letters, digits, and the characters.,-, and_.".git. If the repository name ends with.git, GitHub displays a hint "The.gitextension will be removed." and automatically removes the suffix..wiki. If the repository name ends with.wiki, GitHub displays an error message: "The repository REPO cannot end in .wiki" and refuses to create it.There may be more.
Additional information
No response