--ancestry-path 当给定一系列提交显示(例如commit1..commit2或commit2^commit1)时,只显示直接存在于commit1和之间的祖先链上的commit2提交,即提交都是后代
--ancestry-path 当给定一系列提交显示(例如commit1..commit2或commit2^commit1)时,仅显示直接存在于commit1和之间的祖先链上的commit2提交,即提交都是后代
以下内容的镐接口的一个小例子: $gitlog--pretty=oneline-S'blame_usage'5040f17eba15504bad66b14a645bddd9b015ebb7blame-S<ancestry-file
--ancestry-path Whengivenarangeofcommitstodisplay(e.g.commit1..commit2orcommit2^commit1),onlydisplaycommitsthatexistdirectlyontheancestrychainbetweenthecommit1andcommit2