Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I restart a git/GitHub project?

Tags:

git

github

I've been working for a while on a project hosted in GitHub. However, I've now decided I want to rewrite my application a different way, and have started from scratch. I renamed my old local repository and have created a new one.

How do I use the new repository to replace the repository hosted on GitHub? I don't really care if my old history and issues are there or not. Would the best way just be to delete the GitHub repository and create a new one?

like image 469
iBelieve Avatar asked Feb 17 '23 19:02

iBelieve


1 Answers

Rename the existing GitHub repository and create a new one with the old name. You'll have the history of the old one and the links pointing to the new one. It'll confuse some, but it will have the desired effect.

like image 147
Ian Stapleton Cordasco Avatar answered Feb 22 '23 03:02

Ian Stapleton Cordasco