git存储库是否有一个命名约定? [英] Is there a naming convention for git repositories?
本文介绍了git存储库是否有一个命名约定?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
-
purchaserestservice
-
purchase-rest-service
-
purchase_rest_service
- 还是别的什么?
什么是约定?在github中如何?公共回购是否应遵循某些标准?
我会为 purchase-rest-service
code>。理由: -
什么是追逐休息服务?长而串连的单词很难理解。我知道,我是德国人。
-
_比 - 更难以输入
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?
解决方案
I'd go for purchase-rest-service
. Reasons:
What is "pur chase rests ervice"? Long, concatenated words are hard to understand. I know, I'm German. "Donaudampfschifffahrtskapitänspatentausfüllungsassistentenausschreibungsstellenbewerbung."
"_" is harder to type than "-"
这篇关于git存储库是否有一个命名约定?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文