Hi, this is simple tip - but I found it very usefull on Mac machines.
How to globally switch on ignoring .DS_Strore files:
Step 1: Create global .gitignore file.
echo .DS_Store > ~/.gitignore_global
Step 2: Tell git to use it in all repositories.
git config --global core.excludesfile ~/.gitignore_global
Bonus tip: If you have already repositories which has .DS_Store commited - you can remove them by going into your project directory and removing them from git:
git rm --cached .DS_Store
Subscribe to:
Post Comments (Atom)
Web 3 - blockchain layers
Layers from a blockchain perspective. My plan is to write 5 articles: 1 Intro: Web 1.. 2.. 3.. 2 Layers in crypto. [this one] 3 Applicatio...
-
I spend few long hours to try to fix default crappy touchpad behavior, before finally I got to this. And by "crappy" I mean: not ...
-
Lastly I spent some time investigating usage of GPU in computations, particularly nvidia CUDA. But during research I spent some time looking...
No comments:
Post a Comment