Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm a beginner with git and google code, and I'm not sure how to set it up so that I can put my source on google code. I read some tutorials but I still don't understand.

share|improve this question

Click on the above link and copy and paste the line they suggest for you into a new file called .netrc. Then where it says change it to where for example my project is called rentap so I put in place of

Then open a terminal and type

git remote add googlecode

except replace rentap with the name of your project instead of mine.

I personally don't know much about it, but what works for me is to use gitg that I installed from Ubuntu Software Center (which will also install git for you) and open the folder my project is in on my computer, click the 2nd tab and double click everything on the left, type in a summary of the changes, and click commit.

Then I open a terminal and type

git push googlecode

It works. When I click on the source tab of my project on, everythings there.

As for the wiki, I don't bother with that on my computer. I just update it in my project on

share|improve this answer

If you have git installed, from the command line you can use git clone to copy down the files. This will create a directory with your project name in the directory you are currently in.

You can also use git commit to commit changes, and git push to push changes up to the server. use git alone for a list of all available options.

In ubuntu there is also a git GUI that you can get from the app manager. search for git and you should find it. it is identical to the git GUI on windows.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.