Please does anyone know if firebase studio is automatically saving previous version of my app somewhere and how I can I retrieve it? The app has crashed and the more I mess with the code, the worse I suspect I’m making it.
Hey Michael! If you’re working in prototyper mode, just click the Restore button next to any version to swap back to it. If you’re working in code view (and you’re not using something like GitHub to manage versions), try right-clicking a file and selecting “Open timeline” to see the different saved versions.
Hi JessK and thanks for trying to help. I just tried your suggestion to use the timeline feature but it seems like the saved versions don’t go far back enough. I’d like to use the gitbub solution as I have a version saved there, but I’m a newbie and cloning the repository back to the app is giving me problems. I believe I may not be doing the cloning into the correct directory, or I’m missing something else. I will be glad if you have any ideas about that.
Hi Michael, we experienced a similar situation. What worked for us was cloning the Firebase Studio repository locally, resetting it to a known stable commit, pushing it back to origin, and then syncing changes from Firebase Studio again. Attempting to revert multiple commits directly through the prototype failed in our case.
Hope this help you.