Compare different commits

Hi

Im new in GITEA/
Im inyteresting is there a way to comape to different commits for one file in one branch?

Thanks in advance.

I can’t seem to find that either. Same goes for comparing branches, which would be fantastic.

1 Like

It is possible by writing this in the URL manually… I didn’t find any way to reach that from the UI though.
/compare/a7de13ebae..727979a8d2
(also works with branch and tag names)

3 Likes

When creating a pull request page, you can view the comparison between two branches.
创建合并请求页面时,可以查看两个分支的对比

Hey :point_right:@krasotinpa, I agree with :point_right: @lapo.

You can try this once: git - How to compare files from two different branches - Stack Overflow

This will definitely work for you.