$ git clone -n https://src.fedoraproject.org/rpms/antlr4-project.git /var/lib/mock/f41-build-813459-148684/root/chroot_tmpdir/scmroot/antlr4-project Cloning into '/var/lib/mock/f41-build-813459-148684/root/chroot_tmpdir/scmroot/antlr4-project'... $ git fetch origin a6419fafa87f2fa6cc3f45012a59e3bb73afd242:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/antlr4-project * [new ref] a6419fafa87f2fa6cc3f45012a59e3bb73afd242 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a6419fa Remove reference to static library from cmake files