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.