$ git clone -n https://gitee.com/fundawang/git.git /var/lib/mock/dist-an23-build-286868-64835/root/chroot_tmpdir/scmroot/git Cloning into '/var/lib/mock/dist-an23-build-286868-64835/root/chroot_tmpdir/scmroot/git'... $ git fetch origin d625f2686bcb3c296d8118d6b555913574afeac6:KOJI_FETCH_HEAD From https://gitee.com/fundawang/git * [new ref] d625f2686bcb3c296d8118d6b555913574afeac6 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at d625f26 2.41.0