$ git clone --bare https://github.com/EXAMPLE-USER/OLD-REPOSITORY.git
$ cd OLD-REPOSITORY.git
$ git push --mirror https://github.com/EXAMPLE-USER/NEW-REPOSITORY.git
//clean up
$ cd ..
$ rm -rf OLD-REPOSITORY.git
$ git clone --bare https://github.com/EXAMPLE-USER/OLD-REPOSITORY.git
$ cd OLD-REPOSITORY.git
$ git push --mirror https://github.com/EXAMPLE-USER/NEW-REPOSITORY.git
//clean up
$ cd ..
$ rm -rf OLD-REPOSITORY.git
For further actions, you may consider blocking this person and/or reporting abuse
Tirso Andrade -
Ashwin Gopalsamy -
Vincenzo -
H A R S H H A A -
Top comments (0)