Sitemap
fab

fab

Hi, I am a Software Developer passionate about think the world.

How configure a global gitignore file?

1 min readAug 11, 2018

A global gitignore is important for not add always the same information to ignore in our local repositories. If you want to configure this you should create a file with the information that you know that always will be ignore, for example I have created a file named ~/.global-gitignore in user path:

# Folder view configuration files.DS_StoreDesktop.ini# Thumbnail cache files

Get fab’s stories in your inbox

Join Medium for free to get updates from this writer.

._*Thumbs.db...

After to created this file only is need load this in git configuration, for to do this you could run this command in your console:

git config --global core.excludesfile ~/.global-gitignore

And, it’s ready. Now by default the extensions that you added in this file will be ignored in your repositories

--

--

fab
fab

Written by fab

Hi, I am a Software Developer passionate about think the world.