4 ms·
That is why I like "Allow Listing" in my .gitignore file. Much harder to add stuff by accident. # Ignore everything * # But not these files... !/.gitignore
by cwbriscoe 2y ago
That is why I like "Allow Listing" in my .gitignore file. Much harder to add stuff by accident.
# Ignore everything
*
# But not these files...
!/.gitignore
!*.go
!go.sum
!go.mod
- hinkley 2y agoI do the same. But as I do it my mental image of myself is of someone holding their nose and typing one handed. It’s the least shit solution, but it’s definitely a shit solution. Npm has another way to default exclude but I don’t think git does, and if docker got one I don’t recall what it is.