---
title: "Discussion on \"How to add a license to a GitHub repository in less than 2 minutes ✨\" | Hashnode"
description: "Discussion on \"How to add a license to a GitHub repository in less than 2 minutes ✨\". Introduction\nYou should add a license to your open-source projects for making it easier for people to contribute and many hackathons like the ones organized by Hashnode need a license.\nAdding the license\n\nGo to the repository you want to add the lice..."
url: "https://hashnode.com/posts/how-to-add-a-license-to-a-github-repository/612757e822e1ba252a87ee30"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to add a license to a GitHub repository in less than 2 minutes ✨](https://blog.avneesh.tech/how-to-add-a-license-to-a-github-repository?utm_source=hashnode&utm_medium=feed)

Introduction You should add a license to your open-source projects for making it easier for people to contribute and many hackathons like the ones organized by Hashnode need a license. Adding the license Go to the repository you want to add the lice...

Aug 26, 2021 · 2 min read · blog.avneesh.tech  
Read the article

-   [#github](https://hashnode.com/tag/github)
-   [#git](https://hashnode.com/tag/git)

## Written by

[Avneesh Agarwal](https://hashnode.com/@avneesh0612)

@avneesh0612

  
[View profile](https://hashnode.com/@avneesh0612)

Fullstack web3 developer

16 yo full stack web3 developer building cool shit and teaching others

## Responses 7

Markdown supported · ⌘↵ to post

[Eleftheria Batsou](https://hashnode.com/@eleftheriabatsou)

[Aug 27, 2021](https://hashnode.com/posts/how-to-add-a-license-to-a-github-repository/612757e822e1ba252a87ee30/comment/6128838f71cb04254f06eb64)

Hi there, did you make a few changes in the UI or is it my impression? :)

Nice job with the article [Avneesh Agarwal](https://hashnode.com/@avneesh0612) 🙌

[Avneesh Agarwal](https://hashnode.com/@avneesh0612)

[Aug 27, 2021](https://hashnode.com/posts/how-to-add-a-license-to-a-github-repository/612757e822e1ba252a87ee30/comment/6128838f71cb04254f06eb64#reply-6128844371cb04254f06ec18)

Yeah, I was tinkering with the theming yesterday. How is it? 👀

Thank you [Eleftheria Batsou](https://hashnode.com/@eleftheriabatsou) 🙌🏻

[Eleftheria Batsou](https://hashnode.com/@eleftheriabatsou)

[Aug 27, 2021](https://hashnode.com/posts/how-to-add-a-license-to-a-github-repository/612757e822e1ba252a87ee30/comment/6128838f71cb04254f06eb64#reply-6128970d22e1ba252a880d27)

it's a nice touch [Avneesh Agarwal](https://hashnode.com/@avneesh0612)! I like it :)

[Tapas Adhikary](https://hashnode.com/@atapas)

[Aug 27, 2021](https://hashnode.com/posts/how-to-add-a-license-to-a-github-repository/612757e822e1ba252a87ee30/comment/6128814371cb04254f06eb02)

I love the utility content like this [Avneesh Agarwal](https://hashnode.com/@avneesh0612). Thanks for sharing. Very helpful.

[Avneesh Agarwal](https://hashnode.com/@avneesh0612)

[Aug 27, 2021](https://hashnode.com/posts/how-to-add-a-license-to-a-github-repository/612757e822e1ba252a87ee30/comment/6128814371cb04254f06eb02#reply-6128841c71cb04254f06ebfd)

Thank you [Tapas Adhikary](https://hashnode.com/@atapas). Glad you like this type of content 🤗

[Karthik Pariti](https://hashnode.com/@Kardev07)

[Aug 26, 2021](https://hashnode.com/posts/how-to-add-a-license-to-a-github-repository/612757e822e1ba252a87ee30/comment/61277d0822e1ba252a87f24d)

I normally add licenses from GitHub desktop itself, so I was unaware of this way! Thanks a lot!

[Avneesh Agarwal](https://hashnode.com/@avneesh0612)

[Aug 26, 2021](https://hashnode.com/posts/how-to-add-a-license-to-a-github-repository/612757e822e1ba252a87ee30/comment/61277d0822e1ba252a87f24d#reply-612782cc71cb04254f06d33e)

Great!

[Aman janwani](https://hashnode.com/@aman-janwani)

[Aug 26, 2021](https://hashnode.com/posts/how-to-add-a-license-to-a-github-repository/612757e822e1ba252a87ee30/comment/61276e3722e1ba252a87f111)

This is very useful! Thank you [Avneesh Agarwal](https://hashnode.com/@avneesh0612) 🔥

[Avneesh Agarwal](https://hashnode.com/@avneesh0612)

[Aug 26, 2021](https://hashnode.com/posts/how-to-add-a-license-to-a-github-repository/612757e822e1ba252a87ee30/comment/61276e3722e1ba252a87f111#reply-612782d922e1ba252a87f37a)

Glad to know that this is useful!

[Prashoon Bhattacharjee](https://hashnode.com/@PrashoonB)

[Aug 26, 2021](https://hashnode.com/posts/how-to-add-a-license-to-a-github-repository/612757e822e1ba252a87ee30/comment/6127600722e1ba252a87ef1c)

Amazing article!! 💯

[Avneesh Agarwal](https://hashnode.com/@avneesh0612)

[Aug 26, 2021](https://hashnode.com/posts/how-to-add-a-license-to-a-github-repository/612757e822e1ba252a87ee30/comment/6127600722e1ba252a87ef1c#reply-6127617a22e1ba252a87ef4a)

Thank you 😊

[Arjun Joshi](https://hashnode.com/@arjun2008)

[Aug 26, 2021](https://hashnode.com/posts/how-to-add-a-license-to-a-github-repository/612757e822e1ba252a87ee30/comment/61275c3022e1ba252a87eeaf)

Much needed for the hackathon, thanks bro

[Avneesh Agarwal](https://hashnode.com/@avneesh0612)

[Aug 26, 2021](https://hashnode.com/posts/how-to-add-a-license-to-a-github-repository/612757e822e1ba252a87ee30/comment/61275c3022e1ba252a87eeaf#reply-6127617222e1ba252a87ef45)

You are welcome 😊

[Ashik Chapagain](https://hashnode.com/@chapagainashik)

[Aug 26, 2021](https://hashnode.com/posts/how-to-add-a-license-to-a-github-repository/612757e822e1ba252a87ee30/comment/61275b1371cb04254f06cec2)

Amazing Article, [Avneesh Agarwal](https://hashnode.com/@avneesh0612)

[Avneesh Agarwal](https://hashnode.com/@avneesh0612)

[Aug 26, 2021](https://hashnode.com/posts/how-to-add-a-license-to-a-github-repository/612757e822e1ba252a87ee30/comment/61275b1371cb04254f06cec2#reply-61275bd971cb04254f06cecf)

Glad you liked it 😄
