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