在Git中,我找不到与hg heads相对应的功能。在git-hg rosetta stone中没有提供答案。关于hg parents,在hg中它只是简单地告诉节点的直接祖先,而rosetta stone只是非常不实用地给出了以下解释:
git log # you can read all the information you need from there (as long as you already know the answer to the question you're asking)
git branch
жҳҜhg heads
зҡ„зӯүд»·е‘Ҫд»ӨгҖӮ - JaredParhg heads
会显示所有分支的heads。 - roberthg heads
显示所有分支头。我的观点是它们在其他分支上可能有子提交。 - robert