I've been using Git for so long and I just realized you can ignore files at three different levels and not just with .gitignore. The three files you can use to ignore files are:
.gitignore
.git/info/exclude
~/.config/git/ignore
.gitignore
I've been using Git for so long and I just realized you can ignore files at three different levels...
I've been using Git for so long and I just realized you can ignore files at three different levels and not just with .gitignore. The three files you can use to ignore files are:
.gitignore
.git/info/exclude
~/.config/git/ignore
.gitignore

You added .env to .gitignore. You felt responsible. But three weeks later it's still in the repo,...

There are a gazillion packages in pypi.org that "build" your .gitignore files. The problem is, all...

Agent notes and scratch files want to live next to your repo, but .gitignore is a promise, not a guarantee. Keep them…

I once spent days building a load-bearing module in a repo, committing around it the whole time, and...

Every developer knows the frustration of accidentally pushing node_modules or .DS_Store to a shared...

Every developer talks about Git. But if you're just starting out, it can feel overwhelming. Let me...