最佳答案
Given a local / remote branch name, how could I get the hash of the commit that this branch points to?