$ git clone -n https://src.fedoraproject.org/rpms/gap.git /var/lib/mock/f41-build-847358-163983/root/chroot_tmpdir/scmroot/gap Cloning into '/var/lib/mock/f41-build-847358-163983/root/chroot_tmpdir/scmroot/gap'... $ git fetch origin 355736f22c44e61bf89e7c482fc94d9531d0f0b1:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/gap * [new ref] 355736f22c44e61bf89e7c482fc94d9531d0f0b1 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 355736f Fix debuginfo