Add a license to an exisiting Github Repository
If you forgot to add a license to a repository then you can add simply by:
Create new file
Write the name of the file as
License.mdAs soon as you type license, there will be a button called “Choose license template” On the right side.
Choose license template.
- Choose license type.
Review and submit.
Propose and submit
- Merge pull request. A pull request will be created, which you merge to your repository to add the license.