1

Ive got a project on github which has ended up with a project "inside" and I would like to do a move like described in detach-subdirectory-into-separate-git-repository.

My added question is, how do i effectuate this on github as well?

Community
  • 1
  • 1
svrist
  • 7,042
  • 7
  • 44
  • 67

1 Answers1

1

Since it will rewrite all SHA1 for the current project and the new one, the safest course of action would be:

  • create 2 new projects
  • push 2 local projects to the new GitHub projects
  • alert everyone who has already forked your current GitHub project
  • delete the current GitHub project.
    Go to the repository homepage → Admin → Delete this repository
    (note: Deleting a private repo will delete all forks of the repo. Deleting a public repo will not.)
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250