跳转到: 导航, 搜索

Neutron/FeatureBranch

使用分支

要使用 Neutron 的功能分支,请将你的 git 仓库设置为跟踪远程分支(不要使用 -b 参数进行检出,否则会创建本地分支)。

 cd neutron
 git checkout feature/lbaasv2

检查 .gitreview 文件是否已正确设置为对 gerrit 使用此分支

 defaultbranch=feature/lbaasv2

现在像往常一样使用该分支。需要避免的事项

  • 不要创建对 master 分支 review 的依赖。

需要做的事项

  • 一定要使用 topic 分支,但请从功能分支创建它们。