在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第三方库


热门话题
带Maven的Eclipse Java存储库:缺少工件:compile   java如何以编程方式停止RMI服务器并通知所有客户端   java Roboguice抛出ClassNotFoundException:AnnotationDatabaseImpl   java为什么lucene 4.0删除IndexWriter类的两个构造函数?   nls如何避免java项目上不需要的日志消息?   测试无法在Selenium Webdriver(java)中定位iframe   使用XML的java servlet   java如何使用jxl用****屏蔽单元格   java使用SQLite从数据库中选择“没有这样的列”   导入扫描程序后出现java编译错误   插入查询的java空指针异常   使用创建PostgreSQL数据库。Java应用中的sql脚本   java使用jsoup将HTML解析为格式化的明文