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


i'm working in group project. have have private git repo on github. want clone repo , name 'new repo' in such way new repo can accessed or modified me. change on old repo must not affect repo. possible?

keep in mind old git repo not created me, invited.

  1. git clone repo.git
  2. git remote remove origin // because want remove completely.
  3. create new repository on github manually.
  4. git remote add origin git@github.com:user_name/new_repo.git
  5. git push -u origin head

Comments

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -