Last active
June 2, 2017 21:36
-
-
Save kafkahw/a3a4350a648b29c3187e86b6f37a165b to your computer and use it in GitHub Desktop.
Git config gotchas
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
Change git:// to https:// | |
git config --global url.https://github.com/.insteadOf git://github.com/ | |
Set an alias for public profile: | |
git config --global alias.publicprofile '!git config user.name "Wei Hou" && git config user.email "[email protected]" && git config github.user "kafkahw"' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment