【发布时间】:2012-08-30 03:31:07
【问题描述】:
我正在尝试使用 maven 发布插件从主干创建分支。
例如。存储库.git/ 孩子1/ 孩子2/
插件创建一个包含我的整个存储库的新分支。 我怎样才能限制它创建一个只包含 child1 的分支?
目前pom.xml连接、开发者连接和url如下:
<scm>
<connection>scm:git:ssh://githost/repository.git</connection>
<developerConnection>scm:git:ssh://githost/repository.git</developerConnection>
<url>scm:git:ssh://githost/repository.git</url>
<tag>HEAD</tag>
</scm>
在 svn 中,我们曾经通过在 developerConnection 中使用 child1 的绝对路径来实现这一点。
谢谢,
盖亚特里
【问题讨论】:
-
git 中的分支是 different 来自 SVN 中的分支。你到底想做什么?将存储库一分为二,还是其他?
-
说,我只想释放 child1。所以我不希望 child2 出现在 child1 的发布分支中。换句话说,我不想增加 child2 的版本
标签: git maven maven-release-plugin