$ git clone -n https://gitee.com/src-opencloudos-rpms/libtevent.git /var/lib/mock/dist-oc8-build-38394-12423/root/chroot_tmpdir/scmroot/libtevent Cloning into '/var/lib/mock/dist-oc8-build-38394-12423/root/chroot_tmpdir/scmroot/libtevent'... $ git reset --hard origin/oc8 HEAD is now at 6480d2e import libtevent-0.13.0-1.tl3