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