Re:Stop Using Git Ignore
by default-kramer on Sunday August 18, 2024 @04:37PM
(#41285297)
> Examples of folders included in the git ignore file are generated files like “.next” from NextJS or “test-results” from Playwright. These will be generated for every developer on the project regardless of their OS, IDE etc.
> Yes I am saying this is wrong… (let me know if you agree/disagree below)
I didn't realize that the first paragraph is saying "This is good"; I thought the second paragraph was saying that the first paragraph is bad.
Re:Stop Using Git Ignore
by eddiejaoude on Sunday August 18, 2024 @04:42PM
(#41285331)
oh sorry for the confusion! I do think we need both git ignores, but to be used appropriately.
System global .gitignore solves a problem specific to that developer
Repo .gitignore solves a problem for the project (and every developer)
Yes we should use git ignore for the repo specific items, so if the repo has terraform it should ignore generated files - but not desktop tools people use as we all use different dev tools