Last active
June 12, 2017 02:39
-
-
Save emilefraser/f11603f153386ab1f3f520bcea87682f to your computer and use it in GitHub Desktop.
[Git Client - Configuring] #github #git #configure
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
# 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