Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save michaeljymsgutierrez/0d55483ef3cd723b1a4eb507ff755708 to your computer and use it in GitHub Desktop.

Select an option

Save michaeljymsgutierrez/0d55483ef3cd723b1a4eb507ff755708 to your computer and use it in GitHub Desktop.
Command for globally ignoring files
cd ~
touch .gitignore_global
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