$ git clone -n https://src.fedoraproject.org/rpms/kf6-kdeclarative.git /var/lib/mock/f41-build-838834-159865/root/chroot_tmpdir/scmroot/kf6-kdeclarative Cloning into '/var/lib/mock/f41-build-838834-159865/root/chroot_tmpdir/scmroot/kf6-kdeclarative'... $ git fetch origin c78a447b1cc17d927e79d616776bef90a439fd4a:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/kf6-kdeclarative * [new ref] c78a447b1cc17d927e79d616776bef90a439fd4a -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at c78a447 6.5.0