Created
February 27, 2018 20:02
-
-
Save ciaranmccormick/7b219ed3e506df1fc7e0f8d1e72b1ac3 to your computer and use it in GitHub Desktop.
How to use git
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
# Get your public ssh key | |
# IF you cat remember your id_rsa.pub password then | |
ssh-keygen | |
# The hit enter until it's generate the key | |
# Print the public key on screen | |
cat ~/.ssh/id_rsa.pub | |
# add it to the github repository | |
# clone the repository | |
git clone url-of-repository | |
# Update the user.email and user.name of the local git | |
git config user.email="email@address.com" | |
git config user.name="first.last" | |
# You're done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment