$ git clone -n https://gitee.com/src-opencloudos-rpms/smc-tools.git /var/lib/mock/dist-oc8-build-74687-51053/root/chroot_tmpdir/scmroot/smc-tools Cloning into '/var/lib/mock/dist-oc8-build-74687-51053/root/chroot_tmpdir/scmroot/smc-tools'... $ git fetch origin 8757d2241cf55471a0c23b27f8577bb2988c28e4:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/smc-tools * [new ref] 8757d2241cf55471a0c23b27f8577bb2988c28e4 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 8757d22 import smc-tools-1.8.3-1.tl3