Created
January 14, 2019 14:28
-
-
Save brettmillerb/14f8a8ef617899b8cac93376a83045b4 to your computer and use it in GitHub Desktop.
Git Whoami
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Stolen from here: https://github.com/petere/git-whoami/blob/master/git-whoami | |
function Git-Whoami { | |
$author = git config user.name | |
$email = git config user.email | |
[pscustomobject]@{ | |
Author = $author | |
Email = $email | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment