Official documentation about “Gerrit Change Number”

前端 未结 4 998
北荒
北荒 2021-01-22 02:20

This is a follow-up question of my other question: What is the official name of the number in a Gerrit review url

I have now learned that the small integer embedded in a

4条回答
  •  渐次进展
    2021-01-22 02:39

    The change number uniquely identifies a change. It's a unique value of a change entry. Besides the urls and refs, it can be used in Gerrit query and REST APIs.

    ssh -p 29418 $user@$gerrithost gerrit query change:884120
    curl --digest --user $user:$httpassword $gerrithost/gerrit/a/changes/884120
    

提交回复
热议问题