Skip to content

Instantly share code, notes, and snippets.

@wittawasw
Last active February 14, 2024 07:31
Show Gist options
  • Save wittawasw/0a067eb8c9397e0b69eb06c201f6e9da to your computer and use it in GitHub Desktop.
Save wittawasw/0a067eb8c9397e0b69eb06c201f6e9da to your computer and use it in GitHub Desktop.
Setup global .gitignore
# todo will be ignored in all git repos
echo "todo" >> ~/.gitignore
git config --global core.excludesfile ~/.gitignore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment