git clone github:user/repo
Enter the following in your shell:
cat <<-EOF >> ~/.ssh/config
Host github
HostName github.com
User git
EOF
Now you can type:
git clone github:rails/rails
Source: link
Written by Adam Stankiewicz
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Shell
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#