Diff branches in Atlassian Stash

user3311522 picture user3311522 · Feb 14, 2014 · Viewed 8.7k times · Source

I am trying to get a diff between two branches in stash. Specially before sending the pull request, wanted to verify the changes.

have been reading many articles trying to figure out a solution but haven't succeeded yet.

here are the articles I have looked into:

Git diff against a stash Compare and Diff for Branches

Does anyone have a solution?

Answer

Rog picture Rog · Feb 16, 2014

Currently, the only way to compare branches in Atlassian Stash is to create a pull request first. Otherwise, you can use local git commands to compare arbitrary commits or branches.

This is something we plan to improve in a future release. You can watch for updates here.

Edit: Since Stash 3.0 it is possible to compare branches directly in Stash