https://github.com/mustafmst/git-repo-master
Simple application to manage your Azure DevOps git repository
https://github.com/mustafmst/git-repo-master
automation azure devops git-tool tool
Last synced: 15 days ago
JSON representation
Simple application to manage your Azure DevOps git repository
- Host: GitHub
- URL: https://github.com/mustafmst/git-repo-master
- Owner: mustafmst
- License: mit
- Created: 2019-03-14T18:38:38.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T05:48:48.000Z (about 3 years ago)
- Last Synced: 2025-09-22T15:29:24.259Z (5 months ago)
- Topics: automation, azure, devops, git-tool, tool
- Language: Python
- Size: 21.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# git-repo-master
Simple application to manage your Azure DevOps git repository
## Installation
- from git:
``` bash
git clone https://github.com/mustafmst/git-repo-master.git
python git-repo-master/setup.py install
```
- from PyPI:
``` bash
pip install --user git-repo-master
```
## Usage
```bash
$ grm -h
usage: __main__.py [-h] [-organization ORGANIZATION] [-project PROJECT]
[-repository REPOSITORY [REPOSITORY ...]] [-token TOKEN]
[-action {lock-branch,unlock-branch,create-pull-request}]
[-branch BRANCH] [-source SOURCE] [-target TARGET]
[-title TITLE] [-description DESCRIPTION]
optional arguments:
-h, --help show this help message and exit
All arguments:
-organization ORGANIZATION
Azure DevOps organization
-project PROJECT Azure DevOps project in given organization
-repository REPOSITORY [REPOSITORY ...]
Repo for action
-token TOKEN Personal access token for Azure DevOps
-action {lock-branch,unlock-branch,create-pull-request}
Action to perform
Branch lock and unlock actions arguments:
-branch BRANCH Branch to perform action on
Create pull request action arguments:
-source SOURCE Branch name from which action has to be done
-target TARGET Branch name to which action has to be done
-title TITLE Pull request title
-description DESCRIPTION
Pull request description
```