Skip to content

Instantly share code, notes, and snippets.

@gs
Last active December 18, 2015 04:59
Show Gist options
  • Save gs/5728978 to your computer and use it in GitHub Desktop.
Save gs/5728978 to your computer and use it in GitHub Desktop.
get user name (need for merging with squash)
in .gitconfig
[alias]
usr = !git-usr
git-usr
git log -n200 --format='%an <%ae>'| grep $1 | uniq
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment