Skip to content

Instantly share code, notes, and snippets.

@Attacktive
Last active June 30, 2026 04:40
Show Gist options
  • Select an option

  • Save Attacktive/69ec3d19818f196dbe85d1f8c46bf5cf to your computer and use it in GitHub Desktop.

Select an option

Save Attacktive/69ec3d19818f196dbe85d1f8c46bf5cf to your computer and use it in GitHub Desktop.
Adds a Git alias that lists the effective Git configurations in the current working directory
git config --global alias.config-effective "!git config --list | awk -F= '{a[\$1]=\$0} END {for (i in a) print a[i]}' | sort"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment