many may many may - 1 year ago 94
Git Question

how to clone private git and create a new one from it

I'm working in a group project. We have have a private git repo on github. I want to clone that repo and name it as 'new repo' in such a way that the new repo can only be accessed or modified by me. Any change on the old repo must not affect my repo. Is this possible?

Keep in mind the old git repo was not created by me, I was invited.

Answer Source
  1. git clone repo.git
  2. git remote remove origin // Because you want to remove it completely.
  3. Create a new repository on Github manually.
  4. git remote add origin
  5. git push -u origin HEAD
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download