Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚀 Feature: Blog post on why I keep my .gitignores teeny #337

Open
3 tasks done
JoshuaKGoldberg opened this issue Jan 13, 2025 · 0 comments
Open
3 tasks done

🚀 Feature: Blog post on why I keep my .gitignores teeny #337

JoshuaKGoldberg opened this issue Jan 13, 2025 · 0 comments
Assignees
Labels
status: accepting prs Please, send a pull request to resolve this! type: feature New enhancement or request

Comments

@JoshuaKGoldberg
Copy link
Owner

Bug Report Checklist

  • I have tried restarting my IDE and the issue persists.
  • I have pulled the latest main branch of the repository.
  • I have searched for related issues and found none that matched my issue.

Overview

This comes up once in a while. Contributors sometimes ask to add files like .DS_STORE, .idea, Session.vim, etc. to .gitignores. I generally ask not to because:

  1. The fewer lines of config in a file / in a repo overall, the easier it is for folks to understand the repo
  2. There is a practically unbounded set of stuff folks want to .gitignore
  3. If I start allowing one type of stuff -e.g. editor configs- then that set will grow over time
  4. Therefore, I'm just ... not into having any non-essential .gitignore files

In other words: my goal with .gitignore, as with other configs, is to make it as small as possible.

Additional Info

💖

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: accepting prs Please, send a pull request to resolve this! type: feature New enhancement or request
Projects
None yet
Development

No branches or pull requests

1 participant