Provide an Option to compare a file between branches

34 views
Skip to first unread message

Satish Kumar

unread,
Apr 29, 2021, 9:00:39 AM4/29/21
to tortoisegit-dev
Recently I was trying to compare a file against a different branch but I noticed that Tortoise git currently doesn't have an option to do that.

 I currently use the command line to do that. Below are the sample commands.

  • To compare your local file changes against a specific branch run the below command. (This will compare your local file changes against the remote branch you've given)                 
                  git difftool branch filename
  • To compare a file between two remote branches run the below command.   (This will compare the file using the latest version in the remote branches)        
                  git difftool branch1..branch2  filename

It would be great if you can add the above feature to tortoise git.

Thanks,
Satish.

yueli...@gmail.com

unread,
Dec 30, 2022, 11:14:05 PM12/30/22
to tortoisegit-dev
Hi,

Try this:
20221231_120949_Idle.png

then
20221231_121030_Idle.png

and get
20221231_121247_TortoiseGitMerge.png

sati...@gmail.com 在 2021年4月29日 星期四晚上9:00:39 [UTC+8] 的信中寫道:
Reply all
Reply to author
Forward
0 new messages