question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add desktop.ini to default .gitignore

See original GitHub issue

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.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7

github_iconTop GitHub Comments

3reactions
miraagecommented, Jan 24, 2019

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
0reactions
stale[bot]commented, Mar 31, 2019

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found