`

repo upload 时报错

阅读更多
$ repo upload

如果有多个项目同时进行了改动,为了避免出错,会弹出编辑器显示有改动需要提交的项目列表。

# Uncomment the branches to upload:
#
# project test/test1/:
#  branch jiangxin ( 1 commit, Mon Oct 25 18:04:51 2010 +0800):
#         4f941239 0.2-dev -> 0.2-jiangxin
#
# project test/test2/:
#  branch jiangxin ( 1 commit, Mon Oct 25 18:06:51 2010 +0800):
#         86683ece 0.2-dev -> 0.2-jiangxin

每一行前面的井号是注释,被忽略的行。将希望提交的分支前的注释去掉,就可以将该项目的分支执行推送动作。如下我们把两个分支的注释都去掉了,要对这两个项目当前分支的改动 push 到上游服务器。

# Uncomment the branches to upload:
#
# project test/test1/:
branch jiangxin ( 1 commit, Mon Oct 25 18:04:51 2010 +0800):
#         4f941239 0.2-dev -> 0.2-jiangxin
#
# project test/test2/:
branch jiangxin ( 1 commit, Mon Oct 25 18:06:51 2010 +0800):
#         86683ece 0.2-dev -> 0.2-jiangxin

保存退出(如果使用 vi 编辑器,输入 :wq 执行保存退出)后,马上开始对选择的各个项目执行 git push。

Counting objects: 5, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (2/2), done.
Writing objects: 100% (3/3), 293 bytes, done.
Total 3 (delta 0), reused 0 (delta 0)
To ssh://git@github.com/ossxp-com/test1.git
   27aee23..4f94123  jiangxin -> master
Counting objects: 5, done.
Writing objects: 100% (3/3), 261 bytes, done.
Total 3 (delta 0), reused 0 (delta 0)
To ssh://git@github.com/ossxp-com/test2.git
   7f0841d..86683ec  jiangxin -> master

--------------------------------------------
[OK    ] test/test1/     jiangxin
[OK    ] test/test2/     jiangxin
分享到:
评论

相关推荐

    Git和Repo扫盲.pdf

    Git和Repo扫盲.pdf Git和Repo扫盲.pdf

    mac下的repo

    mac 下使用 repo

    多git版本管理-repo

    • 从高通或google下载代码是通过repo下载的,是由repo管理的266个git组成的 • l现在使用的git库是将由repo管理266个小git合并成一个git库导入 • 目前导入的repo是将项目定制化的内容取出,拆成由repo管理45个小...

    gpmall-repo.rar

    gpmall-repo

    android repo v1.12.4

    android repo 工具 v1 12 4 详细版本如下: repo version v1 12 4 from https: gerrit googlesource com git repo repo launcher version 1 20 from Users oliverluan bin repo new git version 1 8 3 4 Apple...

    Git_和repo扫盲

    Git_和repo扫盲

    ./repo压缩文件

    因网络无法repo init cm安卓源码的,下载后解压到.repo目录放进需要同步的目录,例如~/android。 目录结构如下/home/用户名/android/.repo/。记住repo前面有个“.”。之后cd repo sync -j16

    repo repo - 下载管理源代码

    repo , if you can not get repo by curl, you can download this, and chmod a+x to it.

    repo 可执行文件

    repo-1.13 repo-1.12 repo-1.18 三个版本

    关于repo的使用

    关于repo的使用关于repo的使用关于repo的使用关于repo的使用gerrit 使用说明

    repo_python

    repo python repo

    repo最新版下载

    清华大学镜像站点提供的repo,可以用来下载android,该repo会自动通过清华镜像站点更新

    repo_code.sh

    Ubuntu下使用repo同步Android代码的脚本,repo sync同步失败后可以重复repo sync操作,可以避免网络中断导致的同步失败

    google repo工具

    A repo sync should effectively remove any commits retrieved via repo download. Or, you can check out the remote branch; e.g., git checkout m/master. Note: There is a slight mirroring lag between when...

    repo-下载工具

    repo工具在Ubuntu中验证过绝对可以使用的,放心,解压后chmod 777 repo后。即可使用

    REPO镜像服务器搭建和管理

    REPO镜像服务器搭建和管理 用于搭建Android代码管理。很实用的说明。自己已经试验过。可以成功搭建环境~~~~~~~~~~

    repo工具,绝对能用!!!!

    repo工具

    Android版本管理工具repo

    Android版本管理工具repo,解压到本地后就可以使用,基本用法repo init -u manifest git仓库地址,repo syn ……

    android repo 最新脚本

    android 最新 repo 脚本,1.20版 下载编译android源码必备

    repo 1.21 最新版

    Repo是建立在Git基础上的库(Repository)管理工具,根据需要来统一多个Git库,包括上传至版本管理系统,自动化Android开发流程。 Repo命令其实是可执行的Python脚本,可以放在任意路径下使用。

Global site tag (gtag.js) - Google Analytics