$ git clone -n https://gitee.com/fundawang/libX11.git /var/lib/mock/dist-an23-build-182976-60211/root/chroot_tmpdir/scmroot/libX11 Cloning into '/var/lib/mock/dist-an23-build-182976-60211/root/chroot_tmpdir/scmroot/libX11'... $ git fetch origin cdee0ba16ecf2b2bfe0ccc3f2ff7b26b15d67c53:KOJI_FETCH_HEAD From https://gitee.com/fundawang/libX11 * [new ref] cdee0ba16ecf2b2bfe0ccc3f2ff7b26b15d67c53 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at cdee0ba 1.8.3