$ git clone -n https://gitee.com/src-anolis-sig/nydus-snapshotter.git /var/lib/mock/dist-an7_9-updates-build-228336-62396/root/chroot_tmpdir/scmroot/nydus-snapshotter Cloning into '/var/lib/mock/dist-an7_9-updates-build-228336-62396/root/chroot_tmpdir/scmroot/nydus-snapshotter'... $ git reset --hard origin/a7 HEAD is now at 12fce3b Update nydus-snapshotter to 0.5.1