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