$ git clone -n https://gitee.com/renbo02/anolis-logos.git /var/lib/mock/dist-an8.6-build-198361-60841/root/chroot_tmpdir/scmroot/anolis-logos Cloning into '/var/lib/mock/dist-an8.6-build-198361-60841/root/chroot_tmpdir/scmroot/anolis-logos'... $ git reset --hard ae49e0bd923e265bebbacaf60434aceffe317956 HEAD is now at ae49e0b use tar -czf to compress anolis-logos-8.0.tar.gz