web.onassar.com Archive

I can be reached at onassar@gmail.com.

For my open source work, check out github.com/onassar

Checking out a git/github repo/project

View more posts

This is definitely going to sound straightforward, but I want to make sure I remember it, and thus will write/type it out. The following is the process for checking out a github repo to a local working directory:

git clone git@github.com:onassar/PHP-SmartCurler.git
cd PHP-SmartCurler

Obviously straight forward, but I'm locked into the svn-style of things, and assumed it was a checkout command. Worth noting is that from github, I have to choose a read+write repository address, otherwise I'll get an error as follows:

fatal: remote error:
You can't push to git://github.com/onassar/PHP-SmartCurler.git
Use git@github.com:onassar/PHP-SmartCurler.git