$ git clone -n https://gitee.com/src-opencloudos-rpms/prometheus.git /var/lib/mock/dist-oc9-epol-build-66794-17192/root/chroot_tmpdir/scmroot/prometheus Cloning into '/var/lib/mock/dist-oc9-epol-build-66794-17192/root/chroot_tmpdir/scmroot/prometheus'... $ git fetch origin 515885435097af71fa0ee4935ee48bee6dcf161a:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/prometheus * [new ref] 515885435097af71fa0ee4935ee48bee6dcf161a -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 5158854 import prometheus-2.42.0-2.tl4