Answers for "ds_store gitignore"

2

git ignore all ds_store

echo ".DS_Store" >> ~/.gitignore_global
echo "._.DS_Store" >> ~/.gitignore_global
echo "**/.DS_Store" >> ~/.gitignore_global
echo "**/._.DS_Store" >> ~/.gitignore_global
git config --global core.excludesfile ~/.gitignore_global
Posted by: Guest on February-22-2021
1

ds_store gitignore

find . -name .DS_Store -print0 | xargs -0 git rm -f --ignore-unmatch

git add .gitignore
git commit -m '.DS_Store banished!'
Posted by: Guest on July-21-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language