How to add license to an existing GitHub project
When I created a GitHub project I chose None.
How can I now add a GPL license to my already added project?
Solution 1:
- In your repository, click 'Create new file'
2. a) Type 'LICENSE', 'LICENSE.md' or 'LICENSE.txt' as the new file's file name. b) The 'Want to use a new template?' dialog will appear.
- Choose your preferred license.
The accepted answer is almost there, but confused me, because it said 'click the blue plus' - the interface may have changed - and the image is the same as the OP's.
Solution 2:
- Go to your repository
- Add a new file by clicking the blue plus icon
- Type the file name as License.txt or License.md after which a license picker will show up. Then you can choose the type of license.