Nadir Muzaffar
Nadir Muzaffar

Reputation: 4842

EGit + Google Code Hosting

I'd like to make a Git repo on code.google.com/hosting instead of github. Currently I'm having problem setting this up.

I find SVN + Google Hosting easy to start: Make a new repo, make a new project on eclipse, use subclipse to make an initial commit of that project to the google repo.

How do I setup a git repo with Google? I'm hoping for a noob explanation from head to toe kinda stuff.

If you know of a tutorial you could point me to, that'd be fine as well. I found a Vogella tutorial however that only showed how'd to clone an exist repo.

Upvotes: 3

Views: 2840

Answers (1)

avh4
avh4

Reputation: 2655

On your google code project page, go to Administer -> Source, and then click the button to switch to Git.

Then go to Source -> Checkout to get the repository URL.

Then, I would go into Eclipse and start a new project. After creating the project, commit it to a local git repository.

Then add the google code repository as a new remote to your the local git repository and then you can push from the local to the remote.

Upvotes: 3

Related Questions