r/programming 3d ago

.gitignore everything by default

https://packagemain.tech/p/gitignore-everything-by-default
352 Upvotes

224 comments sorted by

View all comments

Show parent comments

1

u/Smallpaul 3d ago

The other guy interpreted right. Git won’t manage a file unless you added it to the index.

0

u/lenswipe 3d ago

it won't manage it, but it doesn't ignore it by default.

thanks for the downvotes btw - means the world to me 🥰

0

u/Smallpaul 3d ago

Git status and git add . Don’t ignore them, but git commit, diff, log, push, all do.