FYI: in case you upgraded to Antigravity 2.0 and ended up tons of projects duplicating your repos (e.g. “project”, “project 2”, “project 3”, etc…), you can use these scripts to consolidate them:
My process:
- I used Antigravity IDE to create a workspace around my .gemini folder
- I told it my problem (redundant projects that I want to consolidate while preserving the conversations under them) and asked it to analyze .gemini to see where the projects in
~/.gemini/config/projectsare referenced elsewhere - It identified that
~/.gemini/antigravity/agyhub_summaries_proto.pbis where the projects are defined and it helped me create a script that consolidates them together and deletes the redundant files in~/.gemini/config/projects - There is a
find_uuids.pyscript that you run first, which generates aconsolidate_mapping.jsonfile that shows you the mappings. Then you run aconsolidate.pyscript that you run afterwards. - I ran it on one small test project, it worked, and I ran it for the rest (I ran these through antigravity IDE so it ran into some sandbox errors and I had to manually paste in the
rmcommands to clean up the redundant files. if you don’t have sandbox or if you run it manually, you won’t have this issue) - I asked it to add comments and to generalize (for others’ home directories) so others could use it more easily too