$ git clone -n https://gitee.com/src-opencloudos-rpms/thermald.git /var/lib/mock/dist-oc8-build-38647-12603/root/chroot_tmpdir/scmroot/thermald Cloning into '/var/lib/mock/dist-oc8-build-38647-12603/root/chroot_tmpdir/scmroot/thermald'... $ git reset --hard origin/oc8 HEAD is now at 97b8bbf import thermald-2.5.1-1.tl3