Update .gitignore all the .DS_Store files

.gitignore all the .DS_Store files in every folder and subfolder - improves UX
If you are using macOS, visual studio, visual code, rider, your system appends the .DS_Store file in your directories. It’s not a big issue, but often you need to exclude these files explicitly in your .gitignore file, to prevent any unnecessary files in your commit. 

notice for btcpay Mac dev users..
This will never allow the .DS_Store file to sneak in your git.
But, if it's already there, you can write in your project terminal:

find . -name .DS_Store -print0 | xargs -0 git rm -f --ignore-unmatch
then commit and push the changes to remove the .DS_Store from your remote repo:

git commit -m "Remove .DS_Store from everywhere"

git push origin master
This commit is contained in:
Esky33 2020-07-26 00:30:34 +01:00 committed by GitHub
parent 3ffd79c279
commit 810e12f474
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

1
.gitignore vendored
View file

@ -294,3 +294,4 @@ BTCPayServer/wwwroot/bundles/*
.vscode
BTCPayServer/testpwd
.DS_Store