logoalt Hacker News

.gitignore Everything by Default

172 pointsby der_gopheryesterday at 1:19 PM168 commentsview on HN

Comments

ltbarcly3yesterday at 7:28 PM

This is going to be annoying to live with. It makes `git status` unable to remind you that you forgot to add a file you created. Those files will hang around when you change branches. If you have CI you'll see that it is failing and if you are lucky you'll immediately realize without spending 10 minutes on debugging why, and then have to go backtrack, change the branch back, add the file (without the benefit of copy pasting the path from git status) etc etc.

Just look at git status before you commit :eyeroll:.

quantivaiayesterday at 6:24 PM

[flagged]

bizcalclabyesterday at 4:46 PM

[flagged]

laruss5yesterday at 3:13 PM

[flagged]

orielhaimyesterday at 10:26 PM

[dead]