$ 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
kshitij Bhatnagar -
Ramu Narasinga -
João Ricardo Mattedi Cetto -
Hosana Barcelos -
Top comments (0)