$ git clone -n https://gitee.com/src-opencloudos-rpms/rhel-system-roles.git /var/lib/mock/dist-oc8-build-74962-51834/root/chroot_tmpdir/scmroot/rhel-system-roles Cloning into '/var/lib/mock/dist-oc8-build-74962-51834/root/chroot_tmpdir/scmroot/rhel-system-roles'... $ git fetch origin 40a18b8cf5d50ff678c778367745943502ee0262:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/rhel-system-roles * [new ref] 40a18b8cf5d50ff678c778367745943502ee0262 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 40a18b8 import rhel-system-roles-1.23.0-2.21.tl3