$ git clone -n https://gitee.com/lzq11122/apache-commons-io.git /var/lib/mock/dist-an23-build-449802-73445/root/chroot_tmpdir/scmroot/apache-commons-io Cloning into '/var/lib/mock/dist-an23-build-449802-73445/root/chroot_tmpdir/scmroot/apache-commons-io'... $ git fetch origin 802c30658e351504798df287ac5d690f746cb964:KOJI_FETCH_HEAD From https://gitee.com/lzq11122/apache-commons-io * [new ref] 802c30658e351504798df287ac5d690f746cb964 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 802c306 test