You may need to configure a proxy server if you're having trouble cloning
or fetching from a remote repository or getting an error
like unable to access '...' Couldn't resolve host '...'.
Consider something like:
| # Клонируем исходный репозиторий без рабочего каталога (--bare) | |
| git clone --bare https://github.com/exampleuser/old-repository.git | |
| cd old-repository.git | |
| # Делаем mirror-push(будут скопированы все ветки и тэги) в новый репозиторий | |
| git push --mirror https://github.com/exampleuser/new-repository.git | |
| cd .. | |
| # Удаляем папку с репозиторием |