An open API service indexing awesome lists of open source software.

https://github.com/santaspeen/git-switch

A tool for copying a repository from GitHub into GitFlic.
https://github.com/santaspeen/git-switch

gitflic

Last synced: 5 months ago
JSON representation

A tool for copying a repository from GitHub into GitFlic.

Awesome Lists containing this project

README

        

# GitSwitch


License
GitHub stars
magic

Russian localization: [here](https://gitflic.ru/project/dbi471/git-switch/blob?file=READMEru.md)

A tool that will help you copy repositories from GitHub into GitFlic.

## Installation

```shell
# Shell

$ pip3 install -r requirements.txt
```

If you don't have python installed, download it from [http://python.org/](http://python.org/).

## Usage

```shell
# Shell

$ python3 main.py --help
```

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