Creating a license for your GitHub repository
So, now you’ve created your repository and you want to share it with the community, but how do you create the license for the repository?
In this section, we will explain how to do it in a few simple steps:
- When creating a new repository on GitHub, after you enter the repository name and description, you’ll find an option to add a license.
Figure 11.23 – Create a license while creating a repository
- To choose the license, just click on the Choose a license drop-down menu.
Figure 11.24 – Choosing a license
GitHub provides a list of licenses you can choose from. Select the license that fits your project’s needs. If you’re unsure, GitHub offers a short description of each to help you decide.
What if you have already created a repository but you have forgotten to add the proper license? No worries – there is...