Gerrit(1): Manage Projects
1) Register an openid account
2) Custom settings
- set SSH pubkey
- set username and email
- other
3) Update the IP address of remote repositories
- git clone ssh://user_Name@gerrit_Server:SSH_Port/repo_Name.git # 必须拥该 gerrit 远程库的 Read 权限
4) Push code
- git push origin HEAD:refs/for/branch_Name # 必须有 Push 权限
5) Autogenerate Chang-Id
- scp -p -P SSH_Port gerritRoot@gerrit_Server:hooks/commit-msg .git/hooks/
- chmod u+x .git/hooks/commit-msg
6) Watch projects
7) Review code
8) Privilege and User management
- gerrit 以用户组为基本单位划分权限
9) Local documents
10) SSH Ops
- # Connect To Gerrit Server
- ssh -p SSH_Port gerritRoot@gerrit_Server
- ssh -p SSH_Port gerritRoot@gerrit_Server gerrit create-branch myproject newbranch master
- # Get Command Help
- ssh -p SSH_Port gerritRoot@gerrit_Server gerrit --help
#Create Branch By SSH
11) Other
- # Continue An Failed Commit
- git commit --amend
- #Push with bypassing Code Review
- git commit
- git push origin HEAD:refs/heads/master
- #Import an existing history into a Gerrit project
- # push it directly to
refs/heads/<branch>
# 必须有 'Create References' 权限,通常由管理员执行
- # push it directly to
- #Repo State
- Active / Read Only / Hidden
Gerrit(1): Manage Projects的更多相关文章
- 使用Gerrit发送测试邮件
使用Gerrit发送测试邮件 作者:尹正杰 版权声明:原创作品,谢绝转载!否则将追究法律责任. 一.安装HTTP服务 1>.安装HTTP服务 [root@gerrit.yinzhengjie.o ...
- Sharepoint学习笔记—习题系列--70-576习题解析 -(Q32-Q35)
Question 32 You are designing the modification of an existing SharePoint 2010 intranet site for a sc ...
- P6 Professional Installation and Configuration Guide (Microsoft SQL Server Database) 16 R1
P6 Professional Installation and Configuration Guide (Microsoft SQL Server Database) 16 R1 May ...
- Gleeo Time Tracker简明使用教程
转载一篇很不错的文章,这款软件还是非常实用的 1 简介 Gleeo Time Tracker是安卓平台下一款相当酷的项目时间记录和管理的软件.说他酷,是因为界面纯黑.而除了这点酷之外,功能也很简单实用 ...
- HTML5 game engines
The following are few examples of game engines implemented with HTML5 and JavaScript: Construct 2: O ...
- 关于IntelliJ IDEA删除项目
刚开始使用IDEA . 自己创建项目玩,结果发现IDEA无法删除,我也是醉了,Eclipse直接右键 -> delete -> 勾选删除源文件 就删除了,IDEA死活没有找到删除选项... ...
- [转]Setting Keystone v3 domains
http://www.florentflament.com/blog/setting-keystone-v3-domains.html The Openstack Identity v3 API, p ...
- 构建-14 Gradle使用技巧
官方文档 Gradle 提示与诀窍 [Gradle tips and recipes] Gradle 和 Android Plugin for Gradle 提供了一种灵活的方式[a flexible ...
- 5 Best Gantt Chart JIRA Plugins
Andrew Stepanov/June 23, 2017/6 minutes Software developers enjoy using JIRA software for their proj ...
随机推荐
- 集合类不安全之ArrayList
1. 不安全的ArrayList 大家都知道ArrayList线程不安全,怎么个不安全法呢?上代码: public class ContainerNotSafeDemo { public static ...
- java对象属性为date oracle数据库字段为Timestamp 处理方式
解决方案 SimpleDateFormat df1 = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); java.util.Date da ...
- Openstack组件部署 — Keystone Install & Create service entity and API endpoints
目录 目录 前文列表 Install and configure Prerequisites 先决条件 Create the database for identity service 生成一个随机数 ...
- upc组队赛3 Congestion Charging Zon【模拟】
Congestion Charging Zon 题目描述 Tehran municipality has set up a new charging method for the Congestion ...
- InnoDB与Myisam比较
InnoDB与Myisam比较 ...
- ActionEnter cannot be resolved to a type
2014-6-13 23:50:57 org.apache.catalina.core.StandardWrapperValve invoke严重: Servlet.service() for ser ...
- iView的表单table
// html<div class="exam-list"> <Table :columns="columns7" :data="d ...
- 看过这些我明白了依赖注入及IoC
背景 最近一段时间在学习laravel框架,了解到这个框架一个比较核心的概念就是服务容器,而服务容器似乎又和依赖注入有关系.但是碍于官方关于这方面的讲解篇幅过少,所以自学了一下. 自学的途径也跟大家一 ...
- AtCoder Beginner Contest 127 D,E,F
D Integer Cards 题意:先给出n个数字,然后可以有m次操作,每次操作以数字对(x,y)表示最多能选x个数字把它变成y,问经历m次操作后n个数字和最大为多少? 解法:一个明显正确的做法是: ...
- Codeforces 348E 树的中心点的性质 / 树形DP / 点分治
题意及思路:http://ydc.blog.uoj.ac/blog/12 在求出树的直径的中心后,以它为根,对于除根以外的所有子树,求出子树中的最大深度,以及多个点的最大深度的lca,因为每个点的最长 ...