Просмотрено
Метка: Bitbucket

Добавить существующий Git репозиторий в Bitbucket

Добавить существующий Git репозиторий в Bitbucket

git clone –mirror https://bitbucket.org/exampleuser/repository-to-mirror.git # Make a bare mirrored clone of the repository   cd repository-to-mirror.git git remote set-url –push origin https://github.com/exampleuser/mirrored # Set the push location to your mirror   git push –mirrorgit clone –mirror https://bitbucket.org/exampleuser/repository-to-mirror.git # Make a bare mirrored clone of the repository cd repository-to-mirror.git git remote set-url –push origin https://github.com/exampleuser/mirrored # Set the push location to your mirror git push –mirror