How to push local Git repo to newly created Google Code project?
问题 I have a local git repo created by Qt Creator during the New Project Wizard. I've made many commits there. I have created a new Google Code project only now. What is the best way to sync the remote repo to my local one? 回答1: You can see an example at this article "Setting up Google Code with Git" from AlBlue’s Blog: $ cd /path/to/existing/local/repo $ git remote add googlecode https://project.googlecode.com/git $ git push googlecode master:master See git remote command: if you have an