many may many may - 2 months ago 5x
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.

  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