$ git clone -n https://gitee.com/fundawang/doxygen.git /var/lib/mock/dist-an23-build-296821-65797/root/chroot_tmpdir/scmroot/doxygen Cloning into '/var/lib/mock/dist-an23-build-296821-65797/root/chroot_tmpdir/scmroot/doxygen'... $ git fetch origin ba805deeed0b44a4ce4c7fd901962e1eff029fe4:KOJI_FETCH_HEAD From https://gitee.com/fundawang/doxygen * [new ref] ba805deeed0b44a4ce4c7fd901962e1eff029fe4 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at ba805de 1.9.8