$ 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
Jayant Bhawal -
amanbhoria -
Ingila Ejaz -
Aditya Pratap Bhuyan -
Top comments (0)