$ git clone -n https://gitee.com/lzq11122/apache-commons-compress.git /var/lib/mock/dist-an23-build-448963-73423/root/chroot_tmpdir/scmroot/apache-commons-compress Cloning into '/var/lib/mock/dist-an23-build-448963-73423/root/chroot_tmpdir/scmroot/apache-commons-compress'... $ git fetch origin a661960b7f8a5eafe4a1b4e129c5bb2e464dfbe9:KOJI_FETCH_HEAD From https://gitee.com/lzq11122/apache-commons-compress * [new ref] a661960b7f8a5eafe4a1b4e129c5bb2e464dfbe9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a661960 tets