How to compare two different commits on the same branch in github?

前端 未结 5 1338
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-11-29 04:09

Comparing histories on the same branch is very confusing for me on GitHub. I struggle with this regularly:

If I use compare/master in the URL after the

5条回答
  •  时光取名叫无心
    2020-11-29 04:22

    The article you linked has instructions for comparing commits.

    The GitHub comparison tool will accept any revision. Branches, tags, commit IDs, even dates. If you want to compare between two commits, give it the commit IDs. Here's their example.

提交回复
热议问题