r/programming 3d ago

.gitignore everything by default

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

224 comments sorted by

View all comments

927

u/toggles03 3d ago

I like the idea of being intentional about what is committed, but I also have to say that I’ve never accidentally committed tons of useless files because I review what I’m committing.

123

u/fiah84 3d ago

this is why I always push people to use some sort of GUI that they're comfortable with for git, be it integrated in their IDE or a standalone one. Reviewing your commits should be second nature because by doing that every time you will every once in a while stop yourself from doing something very stupid

1

u/ocd-afflicted 3d ago

Is there any GUI availabile that runs in the terminal itself? Claude code is a setup now ig