TLDR Dev · OPINIONS & ADVICE

.GITIGNORE EVERYTHING BY DEFAULT

packagemain.tech3 min read

Summary from the TLDR Dev newsletter

Instead of allowing all files by default and selectively ignoring certain ones, a new approach suggests ignoring everything by default and only allowing specific files to be tracked by Git, which can prevent accidental commits of unwanted local files.