$ git clone -n https://src.fedoraproject.org/rpms/xdg-desktop-portal-kde.git /var/lib/mock/f42-build-862554-170850/root/chroot_tmpdir/scmroot/xdg-desktop-portal-kde Cloning into '/var/lib/mock/f42-build-862554-170850/root/chroot_tmpdir/scmroot/xdg-desktop-portal-kde'... $ git fetch origin 5eea89735e821dffd91d9c2535e0169158732cd6:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/xdg-desktop-portal-kde * [new ref] 5eea89735e821dffd91d9c2535e0169158732cd6 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 5eea897 6.2.4