Utils to easily create/delete/rename repository.
Project description
Git Repo CLI
Utils to easily create/delete/rename repository.
Installation
To install git-repo-cli util type in your terminal:
pip install git-repo-cli
To use all the git-repo-cli functionality you should configure GitHub access token.
git-repo config --token <github-token>
Now you can use it.
Usage
To make usage of the cli easier git-repo
is used, instead of git-repo-cli
.
To get help on usage you can always add --help flag to the command:
git-repo --help
Initialize repository
To initialize repository type the following in the terminal:
git-repo init <repository-path>
It will create folder with name of <repository-path>
folder and initialize it
locally and remotely.
If you use other name on remote you should use the following pattern:
git-repo init <repository-name> -f <repository-local-path>
It will create repository with name <repository-name>
on remote and with path <repository-local-path>
locally.
Delete repository
To delete a repository use the following command:
git-repo delete <repository-path>
Rename repository
To rename a repository use the following command:
git-repo rename <repository-path> <repository-new-name>
Contributing
See CONTRIBUTING.md
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for git_repo_cli-1.3.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a56295fe995b3015fdc4a1de40ddc754ade4671bef0430c0629fe1767f81c1b |
|
MD5 | 463ce7a7b3fea33442fbf29cb92a4cdf |
|
BLAKE2b-256 | aa326fdcbd196e2dd509c54e2f13d90a4a9f03539afde9eb25289e7a29942965 |