$ git clone -n https://gitee.com/lxpzero/apache-commons-io.git /var/lib/mock/dist-an23.3-build-428985-73027/root/chroot_tmpdir/scmroot/apache-commons-io Cloning into '/var/lib/mock/dist-an23.3-build-428985-73027/root/chroot_tmpdir/scmroot/apache-commons-io'... $ git fetch origin a0c06e934e40aeaf842a3bf515f17d1e4d773665:KOJI_FETCH_HEAD From https://gitee.com/lxpzero/apache-commons-io * [new ref] a0c06e934e40aeaf842a3bf515f17d1e4d773665 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a0c06e9 remove BuildRequires openjdk8