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 9024909
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T06:08:32+00:00 2026-06-16T06:08:32+00:00

I have a repository that is on Github and I want to move it

  • 0

I have a repository that is on Github and I want to move it to Codeplex.

I want to take all of the existing commits from my Github repo and push them to a new Codeplex repo.

I don’t think this is the right approach, but I tried:

git remote github add url
git remote update
git add .
git commit

But there is nothing to commit, it downloads the github repo, but the working directory is empty.

How do I switch to the Github master branch, add all of the files to the Codeplex master branch, and push the commits to Codeplex?

Ideally moving forward I would like to be able to continue working on the Github branch and push changes to Codeplex.

  • 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-06-16T06:08:33+00:00Added an answer on June 16, 2026 at 6:08 am

    Adding a Remote

    Assuming you’ve already set up your Codeplex repository, and that GitHub is currently marked as origin, then you can do something like this.

    git remote add codeplex https://foo/bar/baz
    git push codeplex master
    

    To review your remotes, use git remote -v and you’ll see what remotes you’ve defined, as well as the URLs they point to. You can work with multiple remotes; just make sure you’ve got both GitHub and Codeplex correctly set up as remotes. You can then push/pull from GitHub as you normally do, and then explicitly push to Codeplex whenever you want.

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

Sidebar

Related Questions

I have a repository that is forked from GitHub that has a few modifications
I have a GitHub repo that I want Azure to monitor for changes and
I have a private repository on Github that I want to use. I deploy
I have ONE repository on GitHub , let's call it Repo-1 . I want
I have a repository on github and i want a tool that produces a
I have a git repository that I'm trying to delete all files and folders
I have a repository class that inherits from a generic implementation: public namespace RepositoryImplementation
I have a folder in my Git repository that I'd like to move out
I'm really quite frustrated at this point. I have an existing hg repository that
I have a database.php. I want to keep it in my github repository without

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.