Is there a naming convention for git repositories?

前端 未结 6 626
無奈伤痛
無奈伤痛 2021-01-29 17:23

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

  1. purchaserestservice
  2. purchase-rest-service
6条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-29 17:59

    I'd go for purchase-rest-service. Reasons:

    1. What is "pur chase rests ervice"? Long, concatenated words are hard to understand. I know, I'm German. "Donaudampfschifffahrtskapitänspatentausfüllungsassistentenausschreibungsstellenbewerbung."

    2. "_" is harder to type than "-"

提交回复
热议问题