$ git clone -n https://gitee.com/src-opencloudos-rpms/libffi.git /var/lib/mock/dist-oc8-build-38467-12472/root/chroot_tmpdir/scmroot/libffi Cloning into '/var/lib/mock/dist-oc8-build-38467-12472/root/chroot_tmpdir/scmroot/libffi'... $ git reset --hard origin/oc8 HEAD is now at 627e532 import libffi-3.1-24.tl3