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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T06:26:20+00:00 2026-05-25T06:26:20+00:00

I have a repository, say abc/myprject.git . I have this repo on a server

  • 0

I have a repository, say abc/myprject.git. I have this repo on a server from where I pull my code. Now I have forked this repository, naming it chirag/myproject.git.

I have two questions, with regards to this:

  1. I want to use chirag/myproject.git repo instead of the original one now, so how do I change it on the server from abc/myproject.git to the forked one chirag/myproject.git?
  2. And after I’ve changed the repo on the server, if I delete abc/myproject.git, will it cause any issues with chirag/myproject.git?

Thanks

  • 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-25T06:26:21+00:00Added an answer on May 25, 2026 at 6:26 am
    1. Use git remote set-url to change the URL of the origin remote (if you didn’t change anything, the remote repository will be named origin).

      git remote set-url origin git://someserver/chirag/myproject.git
      
    2. If there’s no “physical” relationship between the both repositories at abc/myproject.git and chirag/myproject.git you won’t run into any problems when deleting the first one. Git is a distributed version control system that produces full, independent repositories upon cloning.
      With “physical” relationship” I mean something like softlinks when both repositories reside on the same filesystem or something similar.

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

Sidebar

Related Questions

Say I have this type of structure: Project/Code files : C:\myCode Git Repository :
Say I have a repository on git.fedorahosted.org and I want to clone this into
We have a repository that was exported from subversion into git. This repository is
Say I have a project in a git repository. The project has a branch
Let's say I have working copies of several different folders from my SVN repository
I have a repository on github, say testrepo. Now I'd like to set up
Let's say I have multiple commits in my local git repository that have not
Say I have a git repository and I've been working on master, can I
Let's say I have a Mercurial repository and I'm pulling from a default parent
I have local git repository on my pc with 2 branches, let's say branch1

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.