GitHub License

This article has been written before more than 1 years, information might old.

The inspiration for that script born at the Fosdem 2016 after the interview to Richard Stallman.

The problem is: without a license file your project is proprietary also if on GitHub!

So first of all I want to check all my repo if have that file and after a simple way to add to everyone a license file based.

So this script scan every repo of the user on GitHub for a license file or can download a license in the folder.

Install

curl -sL https://raw.githubusercontent.com/Mte90/GH-License/master/install.sh | bash –

Example

gh-license –scan Mte90

Example of output https://gist.github.com/Mte90/4c5ec76c94afa61983f8

gh-license –license GPLv3 && git add LICENSE && git commit -m “missing license” && git push origin master

license

The effect of the update on my GitHub profile.

Leave a Reply

Your email address will not be published. Required fields are marked *

GitHub License

time to read: 1 min
0