https://github.com/joelee2012/gitlab-branch
https://github.com/joelee2012/gitlab-branch
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/joelee2012/gitlab-branch
- Owner: joelee2012
- License: apache-2.0
- Created: 2022-04-26T05:34:38.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-04-26T08:10:12.000Z (about 3 years ago)
- Last Synced: 2025-03-15T18:53:29.073Z (2 months ago)
- Language: Python
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README


[](https://coveralls.io/github/joelee2012/gitlab-branch?branch=main)
[](https://codecov.io/gh/joelee2012/gitlab-branch)



[](https://gitlab-branch.readthedocs.io/en/latest/?badge=latest)
# Manage branch for gitlab project
## Installation
from pypi
```sh
python3 -m pip install gitlab-branch
```
or install from source```sh
git clone [email protected]:joelee2012/gitlab-branch.git
python3 -m pip install gitlab-branch
```## Usage
```sh
$ gitlab-branch -h
usage: gitlab-branch [-h] {create,delete,list,protect,unprotect} ...manage branch for gitlab project
optional arguments:
-h, --help show this help message and exitsubcommands:
the following commands are supported{create,delete,list,protect,unprotect}
create create branch
delete delete branch
list list branch
protect protect branch
unprotect unprotect branch
```