$ git clone -n https://gitee.com/opencloudos-stream/librepo.git /var/lib/mock/dist-ocs23-build-34350-1629/root/chroot_tmpdir/scmroot/librepo Cloning into '/var/lib/mock/dist-ocs23-build-34350-1629/root/chroot_tmpdir/scmroot/librepo'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/librepo * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at f1be5e8 !1 upgrade to 1.15.2 Merge pull request !1 from cunshunxia/master