$ git clone -n https://gitee.com/src-anolis-sig/keentune_target.git /var/lib/mock/dist-an23-build-344352-70095/root/chroot_tmpdir/scmroot/keentune_target Cloning into '/var/lib/mock/dist-an23-build-344352-70095/root/chroot_tmpdir/scmroot/keentune_target'... $ git reset --hard origin/a23 HEAD is now at 9b8cc46 fix the version error