Skip to content

Instantly share code, notes, and snippets.

@bakertim
Created February 14, 2014 18:46
Show Gist options
  • Save bakertim/9006638 to your computer and use it in GitHub Desktop.
Save bakertim/9006638 to your computer and use it in GitHub Desktop.
CLI: Configure .gitignore to exclude .DS_Store
#! /bin/bash
git config --global core.excludesfile ~/.gitignore
echo .DS_Store >> ~/.gitignore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment