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.


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.

Leave a Reply

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

GitHub License

time to read: 1 min