$ git clone -n https://gitee.com/src-opencloudos-rpms/libgcrypt.git /var/lib/mock/dist-oc9-build-119438-70403/root/chroot_tmpdir/scmroot/libgcrypt Cloning into '/var/lib/mock/dist-oc9-build-119438-70403/root/chroot_tmpdir/scmroot/libgcrypt'... $ git fetch origin e631285d1a35042eec8e6c1bf561ea4c9c5c812f:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/libgcrypt * [new ref] e631285d1a35042eec8e6c1bf561ea4c9c5c812f -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at e631285 import libgcrypt-1.10.2-5.tl4