---
title: "Discussion on \"Stop Committing Your .env Files: The Global Gitignore Hack Every Developer Forgets\" | Hashnode"
description: "Discussion on \"Stop Committing Your .env Files: The Global Gitignore Hack Every Developer Forgets\". Why I spent 3 years manually excluding IDE files from every single repo (and how one config line fixed everything)"
url: "https://hashnode.com/posts/stop-committing-your-env-files-the-global-gitignore-hack-every-developer-forgets/69d28f8140c9cabf440d955a"
---

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

Discussion

# [Stop Committing Your .env Files: The Global Gitignore Hack Every Developer Forgets](https://blogs.amanraj.me/stop-committing-your-env-files-the-global-gitignore-hack-every-developer-forgets?utm_source=hashnode&utm_medium=feed)

Why I spent 3 years manually excluding IDE files from every single repo (and how one config line fixed everything)

Apr 5 · 7 min read · blogs.amanraj.me  
Read the article

## Written by

[Aman Raj](https://hashnode.com/@huamanraj)

@huamanraj · India

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

a full stack dev

a TypeScript full stack developer shipping scalable web apps and adding AI powered workflows on top.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
