$ git clone -n https://gitee.com/happy_orange/keenopt.git /var/lib/mock/dist-an23-build-344304-70092/root/chroot_tmpdir/scmroot/keenopt Cloning into '/var/lib/mock/dist-an23-build-344304-70092/root/chroot_tmpdir/scmroot/keenopt'... $ git reset --hard 18305e6208063d0e14f428056cfed4cf428d121d HEAD is now at 18305e6 fix the version error