Skip to content

Instantly share code, notes, and snippets.

@hanhpv
Last active May 24, 2017 03:03
Show Gist options
  • Save hanhpv/361b7e7939bea1e5a3b751442eecaff0 to your computer and use it in GitHub Desktop.
Save hanhpv/361b7e7939bea1e5a3b751442eecaff0 to your computer and use it in GitHub Desktop.
git ignore globally

Set up your global core.excludesfile configuration file to point to this global ignore file.

git config --global core.excludesfile '~/.gitignore_global'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment