$ git clone -n https://gitee.com/gcdota930915/rust.git /var/lib/mock/dist-an23.3-build-426478-72993/root/chroot_tmpdir/scmroot/rust Cloning into '/var/lib/mock/dist-an23.3-build-426478-72993/root/chroot_tmpdir/scmroot/rust'... $ git fetch origin ce95c0286c85c194376686d924eeb80cc2ec3c02:KOJI_FETCH_HEAD From https://gitee.com/gcdota930915/rust * [new ref] ce95c0286c85c194376686d924eeb80cc2ec3c02 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at ce95c02 fix