$ git clone -n https://gitee.com/src-anolis-os/xz.git /var/lib/mock/dist-an23-build-135897-50256/root/chroot_tmpdir/scmroot/xz Cloning into '/var/lib/mock/dist-an23-build-135897-50256/root/chroot_tmpdir/scmroot/xz'... $ git reset --hard 12f9326966f6f28903fa8d7fde8c2555d086e737 HEAD is now at 12f9326 optimise spec file