$ git clone -n https://gitee.com/src-anolis-sig/nydus-snapshotter.git /var/lib/mock/dist-an8.6-build-110274-45836/root/chroot_tmpdir/scmroot/nydus-snapshotter Cloning into '/var/lib/mock/dist-an8.6-build-110274-45836/root/chroot_tmpdir/scmroot/nydus-snapshotter'... $ git reset --hard 27273d8886ed88f2f6c77c30cb64935d782a030a HEAD is now at 27273d8 Refactor rpm spec