$ git clone -n https://gitee.com/src-anolis-sig/dnf-plugin-releasever-adapter.git /var/lib/mock/dist-an8-plus-build-92853-45237/root/chroot_tmpdir/scmroot/dnf-plugin-releasever-adapter Cloning into '/var/lib/mock/dist-an8-plus-build-92853-45237/root/chroot_tmpdir/scmroot/dnf-plugin-releasever-adapter'... $ git reset --hard origin/master HEAD is now at 5ba4c28 Fixed KeyError in koji build