$ git clone -n https://gitee.com/zhangwenlong01/os-prober.git /var/lib/mock/dist-an23-build-334396-69658/root/chroot_tmpdir/scmroot/os-prober Cloning into '/var/lib/mock/dist-an23-build-334396-69658/root/chroot_tmpdir/scmroot/os-prober'... $ git fetch origin 7941c879f3f9daad8a94caa979fddcc5128225c7:KOJI_FETCH_HEAD From https://gitee.com/zhangwenlong01/os-prober * [new ref] 7941c879f3f9daad8a94caa979fddcc5128225c7 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 7941c87 fix build error for os-prober