Top
Best
New

Posted by der_gopher 7 hours ago

.gitignore Everything by Default(packagemain.tech)
100 points | 112 commentspage 4
mohamedkoubaa 3 hours ago|
"Works on my machine" accelerationism
temphaaa 3 hours ago||
i am not sure why this has been upvoted this is such a bad advice...
jedschmidt 5 hours ago||
i do the same for Content Security Policy: `default-src 'none'` by default, then add what i need when i need it.
msalihb 5 hours ago||
I liked .gitcare This deserves think on it
der_gopher 2 hours ago|
or .gitallow
globular-toast 2 hours ago||
Git already works like this. It won't commit anything unless you explicitly stage it first.
der_gopher 2 hours ago|
Yes, but people miss often what is committed, especially if the change is big.
globular-toast 40 minutes ago||
Eh? You explicitly have to add files to the stage before git will commit anything.
ltbarcly3 1 hour ago||
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:.

monster_truck 5 hours ago||
I'm so sick of these articles telling me what to do with meaningless subjective justifications
taikahessu 3 hours ago|
Subscribe, like and comment if you want to see more!
morkalork 4 hours ago||
People still aren't committing CLAUDE.md?
quantivaia 2 hours ago||
[flagged]
bizcalclab 3 hours ago|
[flagged]