# How to compare a file between branch

**URL:** <https://forum.gitea.com/t/how-to-compare-a-file-between-branch/7964>\
**Category:** Gitea Usages\
**Created:** [October 12, 2023, 2:11pm UTC](https://forum.gitea.com/t/how-to-compare-a-file-between-branch/7964 "2023-10-12T14:11:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Manu](https://avatars.discourse-cdn.com/v4/letter/m/7c8e57/32.png) [@Manu](https://forum.gitea.com/u/Manu)\
**Post date:** [October 12, 2023, 2:11pm UTC](https://forum.gitea.com/t/how-to-compare-a-file-between-branch/7964/1 "2023-10-12T14:11:07Z")

</div>

I would try to do this command from the GUI:

# git diff 2023-08-01:js/gestion.js master:js/gestion.js

(I don’t want a general diff with all files, too much changed, and takes an eternity to load)

Thanks for your help
