I generally go with lowercase Git repository names. Here are a few reasons why that is a good idea.
Cross-platform consistency
File systems differ. Linux is case-sensitive (myrepo ≠ MyRepo), but macOS and Windows often aren’t. Keeping names lowercase avoids confusion or unexpected behavior when cloning or switching between machines.
Operating system breakdown with case-sensitivity:
- Linux: Case-sensitive.
- macOS: Case-insensitive, case-preserving.
- Windows: Case-insensitive, case-preserving.
Name collisions
Some tools or services treat MyRepo and myrepo as different, while others do not—sticking to lowercase sidesteps this risk.
Simplicity & convention
It’s just easier to remember, type, and communicate. Plus, it’s the most common convention—most public repositories (on GitHub, GitLab, etc.) follow this pattern.
Here’s what I am doing
At Amignosis, I pour my heart and skill into crafting slowly brewed software, one thoughtful line at a time. I am craftsman in a world of complexity and low-quality solutions. I am a shoemaker. I take the time to create simple, timeless software built to last. Check what I am doing now and talk to me.
Leave a Reply