A naming strategy for GitHub repositories helps identify the repository at a glance. The naming standard has been designed to easily visualize the purpose and description of the repository.
Each GitHub repository name should meet the following criteria:
-
Descriptive
-
Readable
-
Consistent
-
Contextual
-
Brief (short / succinct)
-
Use Lower Case
-
Use Dashes
- Use lowercase
- Use dashes to separate prefixes
- Mention the abbreviation for project name
- Mention the abbreviation for repository type
- Mention the abbreviation for deployment platform
- Avoid duplication
- Use uppercase
- Use CamelCase
- Use special characters
- Use sensitive information
- Use credentials (usernames, service accounts, etc)
- Use spaces
customer-project-type-[location]
- customer-deploy-infra-gcp
- internal-deeznuts-webapp-onprem