0 votes
1 view
in Devops and Agile by (28.1k points)

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

purchaserestservice

purchase-rest-service

purchase_rest_service

or something else?

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

1 Answer

0 votes
by (48k 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.

Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...