Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7169201
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T14:56:18+00:00 2026-05-28T14:56:18+00:00

I have a local git repo created by Qt Creator during the New Project

  • 0

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 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T14:56:20+00:00Added an answer on May 28, 2026 at 2:56 pm

    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 existing remote (google code) repo ready, you can add its address to your local repo and start pushing (provided you did setup correctly your ~/.netrc file as described in the article, or your %HOME%\_netrc file for windows: see “Git – How to use .netrc file on windows to save user and password” for more).

    Once you have done a local commit, you can push the master branch (see “Push origin master error on new repository“), and from there just git push googlecode.
    If your remote is called ‘origin‘, then after the first push, you will be able to just do ‘git push‘ for the future pushes.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have around 50 relevant commits on my local git repo, of this list
I have a a remote git repo and a local clone. Let's say I
I have a local git repository created with git svn clone . I make
I am using git for windows to manage a local project. I have two
I have a local git repository a central repo at github. I'm working on
I am constantly updating my local git hooks. I have a repo to house
I am a git newbie. I just created a new project with just 4
I have a local git repository which tracks a remote SVN repository via git
I have a local Git repository I've been developing under for a few days:
I have two git repositories: report.git (Master on remote location) cloned.git (Local) I lost

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.