$ git clone -n https://gitee.com/src-anolis-os/jsr-305.git /var/lib/mock/dist-an23.3-build-429352-73027/root/chroot_tmpdir/scmroot/jsr-305 Cloning into '/var/lib/mock/dist-an23.3-build-429352-73027/root/chroot_tmpdir/scmroot/jsr-305'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/jsr-305 * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at cedadb3 remove BuildRequires openjdk8