Skip to content

Instantly share code, notes, and snippets.

@yock
Last active April 25, 2023 14:26
Show Gist options
  • Save yock/fbd169ece9f31802dc98c6f0cfb653a5 to your computer and use it in GitHub Desktop.
Save yock/fbd169ece9f31802dc98c6f0cfb653a5 to your computer and use it in GitHub Desktop.
Global Gitignore for Editor Projectfiles
# Lives at $HOME/.gitconfig but should already exist
# Core section may already exist. Add this line to that section but change the path to match your home directory.
[core]
excludesfile = /Users/myockey/.gitignore
# Lives at $HOME/.gitignore
.vscode # VSCode
.solargraph.yml # Ruby Solargraph gem
.fleet # Jetbrains Fleet editor
.idea # Jetbrains IDEs (IntelliJ, Rubymine, WebStorm, etc)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment