Skip to content

Instantly share code, notes, and snippets.

@joannakl
Created May 27, 2018 18:05
Show Gist options
  • Save joannakl/844d033c9117f043501f33cc5be90f3d to your computer and use it in GitHub Desktop.
Save joannakl/844d033c9117f043501f33cc5be90f3d to your computer and use it in GitHub Desktop.
  • The text files for different creative commons licenses are located at the repository: https://github.com/creativecommons/legalcode. Download the file that you are planning to use.

  • Go to your repository, and click Create New File button. Type the name of the file as LICENSE.txt. (Note that you will be given an option of using a license template. This template does not provide an option of adding a creative commons license.)

  • Paste the content of your chosen license into the body of the file. Add a commit message and commit.

  • Once you refresh the repository view, GitHub will correctly recognize the license.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment