$ git clone -n https://gitee.com/src-opencloudos-rpms/yara /var/lib/mock/dist-oc8-build-28966-8715/root/chroot_tmpdir/scmroot/yara Cloning into '/var/lib/mock/dist-oc8-build-28966-8715/root/chroot_tmpdir/scmroot/yara'... $ git reset --hard origin/oc8 HEAD is now at 47f8a07 import yara-4.2.3-1.tl3