$ git clone -n https://gitee.com/jgmu/anolis-logos.git /var/lib/mock/dist-an8.9-build-370302-71163/root/chroot_tmpdir/scmroot/anolis-logos Cloning into '/var/lib/mock/dist-an8.9-build-370302-71163/root/chroot_tmpdir/scmroot/anolis-logos'... $ git reset --hard 5e920d3f8ff8c121af31de1c0636d49f1c00f7cd HEAD is now at 5e920d3 use tar -czf to compress anolis-logos-8.0.tar.gz