$ git clone -n https://src.fedoraproject.org/rpms/kf6-ktexttemplate.git /var/lib/mock/f42-build-861975-170551/root/chroot_tmpdir/scmroot/kf6-ktexttemplate Cloning into '/var/lib/mock/f42-build-861975-170551/root/chroot_tmpdir/scmroot/kf6-ktexttemplate'... $ git fetch origin ff607a66c4730110c3fd136df520db6e09a8915a:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/kf6-ktexttemplate * [new ref] ff607a66c4730110c3fd136df520db6e09a8915a -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at ff607a6 6.8.0