Git Remote

Cara Menduplikasi Repository

  1. Cara Remote

git clone https://github.com/username/repository-sumber.git

kemudian langsung ubah remotenya dengan code dibawah dan langsung push

git remote set-url origin https://github.com/username/new-repository.git

  1. Cara Mirorr

git clone --mirror https://github.com/username/repository-sumber.git

kemudian pindah ke repo kemudian push dengan code dibawah

git push --mirror https://github.com/username/new-repository.git

Last updated