Last updated 4 years ago
Was this helpful?
Git Flight Rules - use case based Git tutorial -
create a new repository then duplicate your code from last project to it.
git clone --bare https://github.com/exampleuser/old-repository.git cd old-repository.git git push --mirror https://github.com/exampleuser/new-repository.git cd .. rm -rf old-repository.git
Source: