Skip to content

Instantly share code, notes, and snippets.

@kossoy
Created August 26, 2011 05:57
Show Gist options
  • Save kossoy/1172804 to your computer and use it in GitHub Desktop.
Save kossoy/1172804 to your computer and use it in GitHub Desktop.
SSH + git quick cheatsheet for Mac
cd ~/.ssh
ssh-keygen -t rsa -C "[email protected]"
cat ~/.ssh/id_rsa.pub | pbcopy
# scp somewhere or paste to github keys
git config --global user.name "name"
git config --global user.email [email protected]
# may be proxy
# git config --global http.proxy=http://proxy:8080
ssh -T [email protected]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment