$ git clone -n https://src.fedoraproject.org/rpms/enchant2.git /var/lib/mock/f40-build-787450-134774/root/chroot_tmpdir/scmroot/enchant2 Cloning into '/var/lib/mock/f40-build-787450-134774/root/chroot_tmpdir/scmroot/enchant2'... $ git fetch origin fbb833dfa4ec9bdb0b5c76c24c610fac480a783c:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/enchant2 * [new ref] fbb833dfa4ec9bdb0b5c76c24c610fac480a783c -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at fbb833d Update to 2.6.7