Skip to content

Instantly share code, notes, and snippets.

@kafkahw
Last active June 2, 2017 21:36
Show Gist options
  • Save kafkahw/a3a4350a648b29c3187e86b6f37a165b to your computer and use it in GitHub Desktop.
Save kafkahw/a3a4350a648b29c3187e86b6f37a165b to your computer and use it in GitHub Desktop.
Git config gotchas
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