Suppose a git repo has two branches, master
and test
. commitA
is made on the test
branch. I want to check:
- Whether
commitA
has been merged to themaster
branch? - If so, what is the SHA of the merge commit?
I want to check these programmatically (not by using gitk
).