Created
March 29, 2019 07:46
-
-
Save LucaBlackDragon/fac2ea0f02d7dc062184f9cf1ff813bc to your computer and use it in GitHub Desktop.
Oh git, tell me who I am!
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
# Sets `git whoami` alias | |
git config --global alias.whoami "!git config --get-regexp --local user || git config --get-regexp --global user" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment