---
title: "Discussion on \"Git basics: Ignore files from being committed\" | Hashnode"
description: "Discussion on \"Git basics: Ignore files from being committed\". There are some files you don't want to commit to Git, simply because they would be too big and don't have any use.\nSome examples of these files:\n\nnode_modules: Super big and changes every install\n.env often contains secrets and keys. Make sure to ign..."
url: "https://hashnode.com/posts/git-basics-ignore-files-from-being-committed/6186589d47828111df7feb59"
---

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

Discussion

# [Git basics: Ignore files from being committed](https://h.daily-dev-tips.com/git-basics-ignore-files-from-being-committed?utm_source=hashnode&utm_medium=feed)

There are some files you don't want to commit to Git, simply because they would be too big and don't have any use. Some examples of these files: node\_modules: Super big and changes every install .env often contains secrets and keys. Make sure to ign...

Nov 6, 2021 · 2 min read · h.daily-dev-tips.com  
Updated Nov 10, 2021  
Read the article

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

## Written by

[Chris Bongers](https://hashnode.com/@dailydevtips)

@dailydevtips · Cape Town, SA

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

Looking to get into development? As a full-stack developer I guide you on this journey and give you bite sized tips every single day 👊

I'm a full-stack developer from South Africa 🇿🇦. I love writing about JavaScript, HTML and CSS.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
