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

前端 未结 5 1367
爱一瞬间的悲伤
爱一瞬间的悲伤 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:34

    You can use the following URL structure to compare commits in the same branch:

    github.com///compare/...
    

    Replace values for username, repo_name, commit1 & commit2 acc. to your project.

    The separator between the two commits is ... i.e. 3 dots.

提交回复
热议问题