Create-react-app: Add desktop.ini to default .gitignore

Created on 23 Jan 2019  路  7Comments  路  Source: facebook/create-react-app

Is this a bug report?

No

I just noticed that the default .gitignore includes the .DS_Store stuff that MacOS creates but doesn't include Thumbs.db or desktop.ini. I like to customize my icons and this makes Windows create the desktop.ini file.

It's a very very minor thing - I can make a PR for this if it's okay.

stale

Most helpful comment

IMO, OS-related, IDE-related files must be handled by the end users, so create ~/.gitignore and put all of your stuff there. Example of mine:

$ cat ~/.gitignore
.DS_Store
.idea
*.iml

All 7 comments

IMO, OS-related, IDE-related files must be handled by the end users, so create ~/.gitignore and put all of your stuff there. Example of mine:

$ cat ~/.gitignore
.DS_Store
.idea
*.iml

This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 5 days if no further activity occurs.

Well, .DS_Store is in the default .gitignore :D Why not also add Windows-defaults as well ?

@bogdan-calapod because it's my personal one, so I only keep the entries I need.

I was talking about the .gitignore that create-react-app automatically creates when you run create-react-app myapp

This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 5 days if no further activity occurs.

This issue has been automatically closed because it has not had any recent activity. If you have a question or comment, please open a new issue.

Was this page helpful?
0 / 5 - 0 ratings