Created
April 12, 2012 19:46
-
-
Save yrstruly/2370513 to your computer and use it in GitHub Desktop.
Get the GitHub user name from the origin of a clone.
This file contains hidden or 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
git remote show origin | grep Fetch | sed -e 's/^.*://' -e 's/\/.*//' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment