$ git clone -n https://src.fedoraproject.org/rpms/gap-pkg-format.git /var/lib/mock/f38-build-side-42-init-devel-907719-28633/root/chroot_tmpdir/scmroot/gap-pkg-format Cloning into '/var/lib/mock/f38-build-side-42-init-devel-907719-28633/root/chroot_tmpdir/scmroot/gap-pkg-format'... $ git fetch origin e349d15ada5f1004f14c68312a11719d03f6386d:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/gap-pkg-format * [new ref] e349d15ada5f1004f14c68312a11719d03f6386d -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at e349d15 Use the %gap_arches macro.