Skip to content

Instantly share code, notes, and snippets.

@RobertBrunhage
Last active July 21, 2023 18:45
Show Gist options
  • Save RobertBrunhage/59fc52c2512d2678a6a4a679c59e0340 to your computer and use it in GitHub Desktop.
Save RobertBrunhage/59fc52c2512d2678a6a4a679c59e0340 to your computer and use it in GitHub Desktop.
Ignore files/folders that makes me cringe
[core]
excludesfile = ~/.gitignore
.DS_Store
.idea
@RobertBrunhage
Copy link
Author

Step by Step

  1. touch ~/.gitignore
  2. paste the content of the .gitignore file above to your ~/.gitignore file
  3. Update your .gitconfig with the above or run git config --global core.excludesfile ~/.gitignore

@andreale28
Copy link

Hi there, thanks for providing this gist :D

@RobertBrunhage
Copy link
Author

Hi there, thanks for providing this gist :D

No worries!

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