A quick solution for ensuring that local changes made during development does not get overwritten when using the Flutterflow CLI.
Control the files or directories you do not wish to overrwrite when you pull code with the CLI tool.
./flutterflow-filtered-pull --project-id <FlutterFlow Project ID> --flutterflow-token <FlutterFlow CLI Token>
Add a .flutterflowignore file in the root of your project and treat it just like .gitignore file.
Any file or folder in .flutterflowignore will not be overwritten when you run flutterflow-filtered-pull.
By default, the --include-assets and --no-parent-folder flags of the CLI tool are included in this operation, so files will be fetched directly into the current directory.
Requires rsync and flutterflow_cli to be installed on your machine and available in your path.
If you use gitbash, you can refer to install-rsync.sh to setup rsync on GitBash.