$ git clone -n https://gitee.com/src-opencloudos-rpms/initscripts.git /var/lib/mock/dist-oc8-build-100073-61370/root/chroot_tmpdir/scmroot/initscripts Cloning into '/var/lib/mock/dist-oc8-build-100073-61370/root/chroot_tmpdir/scmroot/initscripts'... $ git fetch origin 9967bb554d75e1d74adb079cb040b0b5cfe8e71c:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/initscripts * [new ref] 9967bb554d75e1d74adb079cb040b0b5cfe8e71c -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 9967bb5 import initscripts-10.00.18-2.tl3