$ git clone -n https://gitee.com/renbo02/setools.git /var/lib/mock/dist-an23.1-devel-build-364364-71270/root/chroot_tmpdir/scmroot/setools Cloning into '/var/lib/mock/dist-an23.1-devel-build-364364-71270/root/chroot_tmpdir/scmroot/setools'... $ git fetch origin 2cc7283b72708af05c2600437f9068b410d935d5:KOJI_FETCH_HEAD From https://gitee.com/renbo02/setools * [new ref] 2cc7283b72708af05c2600437f9068b410d935d5 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 2cc7283 Fix build error