git - Azure DevOps PR 消息 - "Work items only from the first 100 commits will be linked"?

标签 git azure-devops pull-request

感谢您对“仅链接前 100 个提交”的含义的定义。

如果我完成 pull 请求 ( PR ),我会丢失提交吗?

This pull request will merge over 100 commits into master. Double check the source and target branches to make sure this is intentional. Work items only from the first 100 commits will be linked.

enter image description here

我从主分支创建了开发分支,并在尝试执行 pull 请求 (PR) 之前进行了太多提交。我的错。

感谢您对“仅链接前 100 个提交”的定义。

最佳答案

我已经创建了 103 个提交,每个提交都链接了相同的 WIT1,首先,我也可以遇到与您相同的警告提示。但此警告消息不会影响您完成 merge PR 行为。

然后PR完成后,当我 checkin WIT1时,可以显示前100次提交,超过100次的提交将不会显示在WIT1中。

第 1 步:创建了 103 个提交,每个提交都链接了相同的 WIT1。

enter image description here Step2:PR完成后, checkin WIT1时,可以显示前100次提交,超过100次的提交将不会显示在WIT1中。

enter image description here

所以,通过上面的测试,完成 PR 后不会丢失提交,并且在 WIT 中会显示前 100 个提交,超过 100 个提交不会显示,但它们并没有丢失,你也仍然可以通过指定的存储库 -> 分支检查所有提交。 enter image description here

关于git - Azure DevOps PR 消息 - "Work items only from the first 100 commits will be linked"?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/74407095/

相关文章:

Azure Devops Service Hooks (Webhook) 失败并显示底层连接已关闭 : An unexpected error occurred on a send

ios - 如何删除 git 应用于文件的 .exec 扩展名?

javascript - 我应该接受来自dependabot 更新yarn.lock 的自动PR 吗?

git - 查看 Xcode 9 中所有更改和暂存的文件

merge 上游时 Git commit 被压缩,我如何更新我的本地 repo

azure - 使用什么服务来触发分配了机器学习任务的 Azure Pipeline?

git - Visual Studio 2017 本地 Git Repo 路径不正确

git - 如何直接将 github pull request merge 到我的私有(private)仓库?

git - 我可以为 git 使用脚本化提交模板吗?

git - 当指定 --no-color 时,不要使用 git log --pretty 对引用进行着色