Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 git 中,我应该如何按排序顺序(按版本号从开始到特定稳定版本排序)获得不同版本的完整更改历史记录,在某些情况下,特定版本的更改历史记录稍后添加。如何将其与主路径链接.
我假设当您查找特定版本的更改历史记录时,意味着您有特定的分支。当您询问历史记录时,这意味着应该有 2 个基准,一个基准是您的分支本身,另一个理想情况下应该是 BRANCH_POINT
git log BRANCH_POINT..release_branch # 这将为您提供 SINCE..TO 的更改