How to add license to an existing GitHub project

前端 未结 4 582
刺人心
刺人心 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条回答
  •  -上瘾入骨i
    2021-01-29 18:55

    1. Go to your repository
    2. Click on "Create new file" Button
    3. Type the file name as License.txt or License.md in the input box next to your repository name, a drop down button appears towards right side
    4. Choose the type of license of your choice
    5. Click "Commit new file" button at the bottom (Green button)

提交回复
热议问题