GitHub License

Questo articolo è stato scritto oltre 1 years, il contenuto potrebbe essere datato.

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.


curl -sL | bash –


gh-license –scan Mte90

Example of output

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


The effect of the update on my GitHub profile.

Liked it? Take a second to support Mte90 on Patreon!
Become a patron at Patreon!

Leave a Reply

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