$ git clone -n https://gitee.com/src-opencloudos-rpms/rhel-system-roles.git /var/lib/mock/dist-oc8-build-38270-12354/root/chroot_tmpdir/scmroot/rhel-system-roles Cloning into '/var/lib/mock/dist-oc8-build-38270-12354/root/chroot_tmpdir/scmroot/rhel-system-roles'... $ git reset --hard origin/oc8 HEAD is now at 024514b import rhel-system-roles-1.20.1-1.tl3