Skip to content

Instantly share code, notes, and snippets.

@tlevine
Created August 4, 2013 03:43
Show Gist options
  • Save tlevine/6149026 to your computer and use it in GitHub Desktop.
Save tlevine/6149026 to your computer and use it in GitHub Desktop.
Set up an SSH key so you can clone a Git repository from GitHub and not type your password every time you need to fetch or push.
# Create an SSH key.
ssh-keygen
# Copy this to the GitHub SSH key page.
cat ~/.ssh/id_rsa.pub
# Clone a git repository with SSH.
git clone git@github.com:tlevine/foobar.git
@gskielian
Copy link

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment