$ git clone -n https://gitee.com/src-anolis-os/ecj.git /var/lib/mock/dist-an8.10-build-544742-86672/root/chroot_tmpdir/scmroot/ecj Cloning into '/var/lib/mock/dist-an8.10-build-544742-86672/root/chroot_tmpdir/scmroot/ecj'... $ git fetch origin 7af739c35f7463bdc345a8fb22cada73a862bb00:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/ecj * [new ref] 7af739c35f7463bdc345a8fb22cada73a862bb00 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 7af739c fix(ecj): Update build requirements and fix build script issues