$ git clone -n https://gitee.com/gaohongmei/libffi.git /var/lib/mock/dist-an8.7-build-224581-62190/root/chroot_tmpdir/scmroot/libffi Cloning into '/var/lib/mock/dist-an8.7-build-224581-62190/root/chroot_tmpdir/scmroot/libffi'... $ git reset --hard 1b017b9f26a02bddeadb7485f704ad1b611508f7 HEAD is now at 1b017b9 3.4.4