/
ilya.petrash
/
SimplePyScripts
Обзор
Документация
Войти
/
ilya.petrash
/
SimplePyScripts
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
gitpython_examples/print_remote_urls.py
14 строк
231 B
gil9red
Added "gitpython_examples/print_remote_urls.py"
19 май 2023, 12:08
19 май 2023, 12:08
b451817
Код
Авторство
О чём код?
#!/usr/bin/env python3 # -*- coding: utf-8 -*- __author__ = "ipetrash" from common import get_repo repo = get_repo() urls = list(repo.remotes.origin.urls) print(f'Urls ({len(urls)}):') for url in urls: print(f' {url}')