Alex Rivera | Logout

How can I upload fresh code at github?

Asked 2010-05-19T15:21:19.273
97

I have a directory with all my coding projects.

I want to upload (correct terminology?) it to GitHub using the command line.

I have already looked at Old question.

I know how to clone an existing project, and how to push it after making any changes.

But in this case, I want to make a new project and add files to that.

How can I accomplish this using the command line?

Edit
Report

1 Answer

6

You can create GitHub repositories via the command line using their Repositories API (http://develop.github.com/p/repo.html)

Check Creating github repositories with command line | Do it yourself Android for example usage.

answered 2011-01-01T23:50:45.917

Your Answer