Git repository unique id

前端 未结 5 737
别跟我提以往
别跟我提以往 2021-01-13 00:44

I need to find out if a commit belongs to a particular git repository.

The idea is to generate some unique id for every repository I need to test. Then I can compa

5条回答
  •  既然无缘
    2021-01-13 01:19

    In Rietveld we can not force everybody to use 'git notes' when people want to find reviews made against their repositories, so we are going to use the last hash from the output of git rev-list --parents HEAD.

提交回复
热议问题