How to add license to an existing GitHub project

前端 未结 4 580
刺人心
刺人心 2021-01-29 17:56

When I created a GitHub project I chose None.

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

4条回答
  •  遥遥无期
    2021-01-29 18:59

    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.


    1. 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.

提交回复
热议问题