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