我無法通過谷歌搜索找到答案。我想添加幾個免費許可證,以便在專案頁面上輕松查看。
https://github.blog/changelog/2022-05-26-easily-discover-and-navigate-to-multiple-licenses-in-repositories/ 似乎暗示一個專案可以有至少兩個許可證作為它的“財產” .
https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository
添加一個名為 LICENSE(.md) 的檔案
我可以想象我會添加LICENSE然后LICENSE.md它會添加兩個到我的專案中。真的是這樣嗎?兩個是最大的?
我可以LICENSE盡可能多地提及檔案,但我希望通過 Github 搜索更好地查看我的專案。值得付出努力嗎,順便說一句?TIA
uj5u.com熱心網友回復:
我還沒有嘗試過,但據我所知,您應該能夠添加一個LICENSE-XXX(.md)whereXXX是您想要的許可證型別的縮寫,所以LICENSE-MIT, LICENSE-GPL. 每個檔案都將被檢測為許可證。
轉載請註明出處,本文鏈接:https://www.uj5u.com/caozuo/520042.html
標籤:github
