FlutterFlow Docs


Will the code edits I've made be overwritten the next time I push to my GitHub repository?

FlutterFlow pushes any changes to a branch called "flutterflow". You should not make any direct changes to the flutterflow branch. Instead, you should create a separate branch for local modifications.
Here's an example of how to do this:
  • Push from FlutterFlow to Github - this places the code in the flutterflow branch.
  • Bring in the FlutterFlow project into your main branch.
  • Make any local modifications there in the main branch.
  • Next time you push from FlutterFlow, it will overwrite the flutterflow branch.
  • Now, you can merge the flutterflow branch onto the main branch, and choose what changes to keep and what to discard.

Error pushing repository. Make sure your repository is initialized (this is a common issue)

To fix this error, you will need to initialize your GitHub repository using these steps: