Add desktop.ini to default .gitignore
See original GitHub issueIs 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.
Issue Analytics
- State:
- Created 5 years ago
- Comments:7
Top Results From Across the Web
git - Why am I committing a bunch of desktop.ini files despite ...
Just write this simpler thing into your .gitignore : desktop.ini. You could also do ... but the files are still in the index...
Read more >Github desktop doesn't ignore desktop.ini file - Reddit
The .gitignore file is correctly updated, but the desktop.ini files ... right click -> add to .gitignore through Github desktop's interface, ...
Read more >Why does desktop.ini appear on git bash on git status cmd?
The file desktop.ini is a system file generated in Windows. It appears in git status because git considers all files within it's directory...
Read more >How do I append a line to all .gitignore files recursively?
In bash, enabled recursive globbing: shopt -s globstar. Then do: echo "desktop.ini" | tee -a **/.gitignore.
Read more >Git Ignore · macOS Setup Guide - Sourabh Bajaj
Git Ignore (global). Create the file ~/.gitignore as shown below # Folder view configuration files .DS_Store Desktop.ini # Thumbnail cache files .
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub 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: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.