$ git clone -n https://gitee.com/src-anolis-sig/nydus-snapshotter.git /var/lib/mock/dist-an8-plus-build-111279-45696/root/chroot_tmpdir/scmroot/nydus-snapshotter Cloning into '/var/lib/mock/dist-an8-plus-build-111279-45696/root/chroot_tmpdir/scmroot/nydus-snapshotter'... $ git reset --hard origin/a8 HEAD is now at c014b0d Fix version conflict