在hg我可以hg heads用来查看所有当前的头.我仍然无法找到git中的等价物.该混帐-HG罗塞塔石碑并没有给出答案.
至于hg parentshg 中的哪一个只是告诉一个节点的直接祖先,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)
Run Code Online (Sandbox Code Playgroud) git ×1