diff --git a/README.md b/README.md index 432cdcd..2c5d924 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,11 @@ # GitSwitch +

+ License + GitHub stars + magic +

+ A tool that will help you copy repositories from GitHub into GitFlic. ## Installation @@ -10,16 +16,21 @@ A tool that will help you copy repositories from GitHub into GitFlic. $ pip3 install -r requirements.txt ``` +If you don't have python installed, download it from [http://python.org/](http://python.org/). ## Usage -Get GitHub token from: https://github.com/settings/tokens \ -Get GitFlic token from: https://gitflic.ru/settings/oauth/token - ```shell # Shell -python3 main.py --help +$ python3 main.py --help ``` -The script if going to clone all the repos for a given access token under `./cloned-repos//`. +Then: + +* Get GitHub token from: [https://github.com/settings/tokens](https://github.com/settings/tokens) +* Get GitFlic token from: [https://github.com/settings/tokens](https://gitflic.ru/settings/oauth/token) + +If you are using 2AF into GitFlic select ssh connection using the key: `--use_ssh true`. + +The script will copy all the necessary repositories to `./cloned-repos//`, then push it to GitFlic diff --git a/READMEru.md b/READMEru.md new file mode 100644 index 0000000..fce61bf --- /dev/null +++ b/READMEru.md @@ -0,0 +1,37 @@ +# GitSwitch + +

+ License + GitHub stars + magic +

+ +Инструмент, который поможет вам скопировать репозитории из GitHub в GitFlic. + +## Установка + +```shell +# Shell + +$ pip3 install -r requirements.txt +``` + +Если у вас не установлен питон, скачайте с [http://python.org/](http://python.org/).\ +Актуально для windows. + +## Использывание + +```shell +# Shell + +$ python3 main.py --help +``` + +Изучив аргументы: + +* Получите GitHub токен отсюда: [https://github.com/settings/tokens](https://github.com/settings/tokens) +* Получите GitFlic токен отсюда: [https://github.com/settings/tokens](https://gitflic.ru/settings/oauth/token) + +Если у вас подключена 2AF в GitFlic используйте ssh: `--use_ssh true`. + +Скрипт скопирует все нужные репозитории в `./cloned-repos//`, затем запушит их в GitFlic.