$ git clone -n https://src.fedoraproject.org/rpms/cups-browsed.git /var/lib/mock/f41-build-854569-166892/root/chroot_tmpdir/scmroot/cups-browsed Cloning into '/var/lib/mock/f41-build-854569-166892/root/chroot_tmpdir/scmroot/cups-browsed'... $ git fetch origin 053e0c9d073a0e6dc38a699d320c16b8deff3c2d:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/cups-browsed * [new ref] 053e0c9d073a0e6dc38a699d320c16b8deff3c2d -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 053e0c9 Fix post to match on leading spaces as well