在azure devops上使用git repo自动化操作的小程序包

git-repo-master的Python项目详细描述


Git回购主机

管理azure devops git存储库的简单应用程序

安装

git clone https://github.com/mustafmst/git-repo-master.git
python git-repo-master/setup.py install

用法

$ 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

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
内存Java正在运行。jar heapdump错误   java如何在安卓画布中弯曲文本区域?   java如何在Gdx 安卓游戏编程中获得矩形的真实触碰位置?   找不到java Spring MVC控制器   在Java中使用双重检查锁定单例扩展类   java在高效的时间和内存中动态执行insert(索引、数据)、delete(索引)、getAt(索引)操作。   java 安卓 Toast和视图帮助   java协议缓冲区:从文件中读取所有序列化消息   java如何在Jackson中为参数化接口类型执行通用自定义反序列化程序   与简单的空检查相比,使用(平面)映射的java优势是什么?   异步方法seam中的java Get contextparam   jar使用相同的java运行时运行另一个java程序   java访问Spring批处理中的作业参数   java给定字符串为空或null   在h2数据库1.4中找不到java类“org.h2.fulltext.FullTextLucene”。*不适用于Lucene Core 4*   java Spring Boot在使用@enableSync时不响应任何请求   java错误:在bash上找不到或加载主类pj2   “返回对象”和“返回(对象)”之间的Java差异   java Android开发:如何使用onKeyUp?