博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
使用git和repo管理自己的android代码
阅读量:2341 次
发布时间:2019-05-10

本文共 540 字,大约阅读时间需要 1 分钟。

Creating topic branches

$ repo start branchname                            #建立自己的分枝

$ repo status                                                 #查看分枝状态

 

Using topic branches

$ repo start branchname project             #在项目下建立分枝     我在kernel下尝试建立分枝成功 repo start master kernel

$ git checkout branchname                       #跳转到自己建立的分枝

 

查看分枝:

$ git branch                                                  #速度快,直接显示分枝
or...
$ repo branches                                          #速度慢,会显示分枝在哪个项目下

Viewing client status

查看文件状态:

$ repo status
查看未commit的文件,与git的功能一样:
$ repo diff

Cleaning up your client files

To update your local working directory after changes are merged in Gerrit:

$repo sync
To safely remove stale topic branches:
$ repo prune

 

转载地址:http://uofvb.baihongyu.com/

你可能感兴趣的文章
oracle中merge into用法解析
查看>>
MySQL Explain详解
查看>>
oracle性能监控
查看>>
Spring Boot 整合Servlet
查看>>
Spring Boot 整合Filter
查看>>
nginx 安装
查看>>
ngnix 详解
查看>>
IDEA创建spring boot项目
查看>>
IDEA安装插件
查看>>
HttpClient-02连接管理
查看>>
数据库连接池-配置 wallfilter问题解决-UncategorizedSQLException
查看>>
struts2+ajax+jquery
查看>>
Java正则表达式的用法
查看>>
java根据文件流判断文件类型(后缀名)
查看>>
js常用操作事件
查看>>
js控制页面显示
查看>>
spring boot 使用过滤器
查看>>
识别jar的编译JDK版本
查看>>
网络编程-获取ip-解析ip
查看>>
linux 安装mysql
查看>>