Skip to content

Instantly share code, notes, and snippets.

@emilefraser
Last active June 12, 2017 02:39
Show Gist options
  • Save emilefraser/f11603f153386ab1f3f520bcea87682f to your computer and use it in GitHub Desktop.
Save emilefraser/f11603f153386ab1f3f520bcea87682f to your computer and use it in GitHub Desktop.
[Git Client - Configuring] #github #git #configure
# IF VIA SSH
# ***********
# If use of ssh key
# ssh-keygen -t rsa -C "[email protected]"
# Copy ssh key to github.com
# subl ~/.ssh/id_rsa.pub
# Test connection
# ssh -T [email protected]
# VIA HTTPS
# ***********
# Set git config values
git config --global user.name "User Name"
git config --global user.email "[email protected]"
git config --global github.user username
git config --global github.token your_token_here
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment