You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/testing-deployment-publishing/exporting-code/ff-cli.md
+23-2Lines changed: 23 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -75,7 +75,28 @@ To use the CLI, you'll need to create an API token and use it in your requests.
75
75
76
76
## Filtered exports
77
77
78
-
We've developed [a solution](https://github.com/krabhishek/flutterflow-filtered-pull) that allows you to use the CLI tool without overwriting specific files or directories. This is especially useful if you're managing code outside of FlutterFlow and want to prevent it from being overwritten during a code export.
78
+
If you are updating an existing project and do not want certain files to be overwritten during a code export, you can create a `.flutterflowignore` file in the root of your project directory. This file should contain a list of files to be ignored using globbing syntax.
79
+
80
+
### Example:
81
+
If your project is located at:
82
+
```
83
+
/Users/yourname/projects/my_flutterflow_app/
84
+
```
85
+
Then, place the `.flutterflowignore` file in:
86
+
```
87
+
/Users/yourname/projects/.flutterflowignore
88
+
```
89
+
90
+
### Example `.flutterflowignore` contents:
91
+
```
92
+
my_flutterflow_app/android/app/build.gradle # Prevents FlutterFlow from overwriting native Android build configuration
0 commit comments