Skip to content

Instantly share code, notes, and snippets.

@yayMark
Last active December 15, 2017 04:32
Show Gist options
  • Select an option

  • Save yayMark/5878e65c321f2dc25bf1360ec8232e73 to your computer and use it in GitHub Desktop.

Select an option

Save yayMark/5878e65c321f2dc25bf1360ec8232e73 to your computer and use it in GitHub Desktop.
Git: ignore files without committing to .gitignore

Git: ignore files without committing to .gitignore

If you want to ignore local files, but not commit it to the repo in .gitignore, use .git/info/exclude instead

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