Coder Social home page Coder Social logo

Comments (3)

jiangxin avatar jiangxin commented on May 5, 2024 1

codeup 即阿里云·云效代码平台,同时支持 Gerrit 模式和推送评审模式。

  • Gerrit 模式就是使用特殊的 git push 命令行推送到特殊引用 refs/for/<branch>/<topic>
  • 推送评审模式是对 Gerrit 模式的一种简化,可以直接推送到分支,如 git push 即可创建代码评审。

如果在云效 codeup 上操作多仓库,建议任然使用 git-repo 默认的 Gerrit 模式。这是因为 Gerrit 模式的特殊引用 refs/for/<branch>/<local-branch> 可以提供 <local-branch> 信息,这样服务端能够识别推送操作是创建新的代码评审,还是更新老的代码评审。而推送评审模式在推送时没有相关信息,服务端难以识别用户的 push 操作应该创建新的代码评审,还是更新老的代码评审,可能需要客户端提供 -o review=<argument> 参数,这给多仓库的 git-repo 工具带来编程难度。

from git-repo-go.

xzy57369 avatar xzy57369 commented on May 5, 2024

codeup上开启推送评审后,使用 git push 就可以自动创建评审,不依赖git-repo

from git-repo-go.

kennir avatar kennir commented on May 5, 2024

知晓了, 谢谢楼上的答复

from git-repo-go.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.