$ git clone -n https://gitee.com/src-anolis-os/gmp.git /var/lib/mock/dist-an23-build-130479-46288/root/chroot_tmpdir/scmroot/gmp Cloning into '/var/lib/mock/dist-an23-build-130479-46288/root/chroot_tmpdir/scmroot/gmp'... $ git reset --hard eae106384572cda497f028464c4b554aa3e27868 HEAD is now at eae1063 reset files to devel, static and doc