Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

screenshot

like image 437
King Avatar asked Jul 26 '15 16:07

King


People also ask

What if a GitHub project has no license?

If a repository has no license, then all rights are reserved and it is not open-source or free . You cannot modify or redistribute this code without explicit permission from the copyright holder.


1 Answers

  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.

like image 55
BrechtDeMan Avatar answered Dec 09 '22 23:12

BrechtDeMan