From 810e12f474e1984ad093457cb5be85b7f2b888a0 Mon Sep 17 00:00:00 2001 From: Esky33 Date: Sun, 26 Jul 2020 00:30:34 +0100 Subject: [PATCH] Update .gitignore all the .DS_Store files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit .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 --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index fbf55eb42..d6a175f4e 100644 --- a/.gitignore +++ b/.gitignore @@ -294,3 +294,4 @@ BTCPayServer/wwwroot/bundles/* .vscode BTCPayServer/testpwd +.DS_Store