Skip to content

Git

В репозитории необходимо выпустить токен

Settings -> Repository -> Deploy tokens -> Expand -> Add token

Необходимо заполнить Name, Username, read_repository, read_registry, read_package_registry

Мы получаем токен, который необходимо сохранить

tltpro

gldt-a_R-PuqmrLbMMniCfBiF

Берем адрес для клонирования репозитория через Https

https://gitlab.tltpro.org/it-directory/tltpro.git

Итоговая команда для клонирования собирается по следующему правилу

git clone https://<username>:<deploy_token>@gitlab.example.com/tanuki/awesome_project.git

Итоговая команда в нашем случае

git clone https://tltpro:[email protected]/it-directory/tltpro.git