Google Code with Git

In this tutorial, I will discuss how to setting up google code with git version management system. Remember, it's not a tutorial on how to use git, rather it is tutorial on how to used git with google code. That means, I assume you know how to add user, remote, commit at git.

Step#1 : Create a new project at google code.

Step#2 : Create a file named '_netrc' at 'C:\Users\"username"\'

Step#3 : Now go here. Here you will find your password for googlecode.com. Find out the line "machine code.google.com login ...", copy it and paste it at you '_netrc' file.

Step#4 : Now go to your local directory (which will be used as git repository), right click and select 'git bash'

Step#5 : Add the remote repository "$ git remote add googlecode https://project.googlecode.com/git". Remember, you will use the url of your own remote repository at google code.

Step#6 : At the time of pushing to remote repository you will use this "$ git push googlecode master:master".