Follow

huh, interesting little blog post about .gitignore:

julien.danjou.info/properly-ma

What's in your global gitignore?

related: Do any of you devs put 'Cargo.lock' in your global gitignore? This seems convenient but also _feels_ dangerous but I don't know why...

@schlink you're normally supposed to keep Cargo.lock in the repo for binary packages / apps, so it doesn't make much sense to exclude it globally. `cargo new` already does the right thing with gitignore/lock for each particular kind of project.

@schlink anything `*_modules`; just a few things I encounter daily `node_modules`, `pxt_modules`, `yotta_modules`, etc etc etc and these aren't just for project I work on or use.

Sign in to participate in the conversation
Octodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!