GitHub Codespaces: Does rebuilding container erase unsaved modification or unsynced customization?

I want to create a devcontainer.json but I worry that ‘Codespaces: Rebuild Container’ might erase unsaved modifications to my project and customizations to VS Code that aren’t synced and .zshrc.