$ git clone -n https://gitee.com/src-anolis-os/varnish /var/lib/mock/module-varnish-6-8070020221101080441-d4344feb-build-152707-58152/root/chroot_tmpdir/scmroot/varnish Cloning into '/var/lib/mock/module-varnish-6-8070020221101080441-d4344feb-build-152707-58152/root/chroot_tmpdir/scmroot/varnish'... $ git reset --hard 9771a2f2d8016cb6741a4e1b6face2d82079ec8d HEAD is now at 9771a2f update to varnish-6.0.8-1.module+el8.5.0+14089+03a0c2cc.1