$ git clone -n https://gitee.com/zhangwenlong01/anolis-release.git /var/lib/mock/dist-an23-build-547835-87716/root/chroot_tmpdir/scmroot/anolis-release Cloning into '/var/lib/mock/dist-an23-build-547835-87716/root/chroot_tmpdir/scmroot/anolis-release'... $ git fetch origin efcc5c468f322c2338bce95926b24c597f29d160:KOJI_FETCH_HEAD From https://gitee.com/zhangwenlong01/anolis-release * [new ref] efcc5c468f322c2338bce95926b24c597f29d160 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at efcc5c4 fix baseurl error for anolis23