Skip to content

Instantly share code, notes, and snippets.

@EmilyRosina
Last active April 8, 2024 00:10
Show Gist options
  • Save EmilyRosina/e0dacae390ffd84efa25cb90fe791703 to your computer and use it in GitHub Desktop.
Save EmilyRosina/e0dacae390ffd84efa25cb90fe791703 to your computer and use it in GitHub Desktop.
How to create local git ignore
git config --global core.excludesfile .local.gitignore
# Then add .local.gitignore to the file, so it ignores itself
# whilst also ignoring everything else you put in the file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment