$ git clone -n https://gitee.com/uestc-cheng/libxml2.git /var/lib/mock/dist-an8.8-build-299240-65890/root/chroot_tmpdir/scmroot/libxml2 Cloning into '/var/lib/mock/dist-an8.8-build-299240-65890/root/chroot_tmpdir/scmroot/libxml2'... $ git reset --hard 4ea75492f65cd08d7704b19475c614a61fc4710b HEAD is now at 4ea7549 update libxml2.spec.