Github – How to add license to an existing GitHub project

githublicensing

When I created a GitHub project I chose None.

How can I now add a GPL license to my already added project?

screenshot

Best Answer

  1. In your repository, click 'Create new file'

step 0


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.

step 1


  1. Choose your preferred license.

step 2

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.