go-git
go-git copied to clipboard
How to diff <branch> <branch>?
I looked through all the examples but couldn't find the way to get the hash of a branch, and then use Tree.Diff to get the diff of two branches.
What would the code look like to do this?