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.
- Host: GitHub
- URL: https://github.com/santaspeen/git-switch
- Owner: SantaSpeen
- License: mit
- Created: 2022-03-25T20:26:21.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-04-01T11:23:03.000Z (over 3 years ago)
- Last Synced: 2024-12-31T08:13:32.428Z (7 months ago)
- Topics: gitflic
- Language: Python
- Homepage:
- Size: 29.3 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# GitSwitch
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