Explore Courses Blog Tutorials Interview Questions
0 votes
in DevOps and Agile by (29.3k points)

For example, I have a RESTful service called Purchase Service. Should I name my repository




or something else?

What's the convention? How about in github? Should public repos follow some standard?

1 Answer

0 votes
by (50.2k points)

There are two ways of naming 

1. Lowercase-with-hyphens

2. Lowercase_with_underscores 

I would recommend you to use lowercase-with-hyphens which is widely used and it is easy to understand rather than the rest method and ‘_’ is somewhat hard to give compared to hyphens.

Better to use this for your git repositories also has the most developers use the same way for naming their git repositories.

Browse Categories