告诉 Azure devops 在进行 git 合并时使用特定选项
Tell Azure devops to use particular options when doing git merges
我希望我的 Azure devops 存储库像这样进行所有合并:
git merge branchname -s recursive -Xignore-all-space
是否有相应的设置?
恐怕没有这个设置。 Azure devops 存储库目前没有 运行 自定义 git 命令的此功能。
作为解决方法,您可以将 azure 存储库克隆到本地计算机,并在目标分支上 运行 以上命令,然后将其推送到云 azure 存储库分支。
您还可以在脚本任务中的 git 命令上方创建到 运行 的构建管道。参见 here for more information about run git commands in pipeline. You can also check out the example in this thread。
如果您想submit a user voice(点击建议一个功能并选择azure devops)给微软开发团队。希望他们在未来的冲刺中考虑加入这个功能。
我希望我的 Azure devops 存储库像这样进行所有合并:
git merge branchname -s recursive -Xignore-all-space
是否有相应的设置?
恐怕没有这个设置。 Azure devops 存储库目前没有 运行 自定义 git 命令的此功能。
作为解决方法,您可以将 azure 存储库克隆到本地计算机,并在目标分支上 运行 以上命令,然后将其推送到云 azure 存储库分支。
您还可以在脚本任务中的 git 命令上方创建到 运行 的构建管道。参见 here for more information about run git commands in pipeline. You can also check out the example in this thread。
如果您想submit a user voice(点击建议一个功能并选择azure devops)给微软开发团队。希望他们在未来的冲刺中考虑加入这个功能。