Skip to content

Instantly share code, notes, and snippets.

@scanbix
Last active July 31, 2023 08:51
Show Gist options
  • Save scanbix/f57a5fd186936b45701cec526ad94703 to your computer and use it in GitHub Desktop.
Save scanbix/f57a5fd186936b45701cec526ad94703 to your computer and use it in GitHub Desktop.
# powershell
git config --list --show-origin
##
## https://stackoverflow.com/questions/7335420/global-git-ignore
##
# ignore dirs/files in all user's local git repositories
git config --global core.excludesFile "$Env:USERPROFILE\.gitignore"
#review the setting
git config --global core.excludesFile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment