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: README.md
+14-4Lines changed: 14 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -114,17 +114,27 @@ $ ./sync.sh staging production
114
114
115
115
### Skipping database or assets during sync
116
116
117
-
The `--skip-db` flag can be passed at the end of the arguments to skip syncing the database.
117
+
The `--skip-db` flag can be passed to skip syncing the database.
118
118
119
-
The `--skip-assets` flag can be passed at the end of the arguments to skip syncing assets.
119
+
The `--skip-assets` flag can be passed to skip syncing assets.
120
+
121
+
```sh
122
+
# Sync production down to development
123
+
$ ./sync.sh --skip-db production development
124
+
```
125
+
126
+
```sh
127
+
# Sync production down to development
128
+
$ ./sync.sh --skip-assets production development
129
+
```
120
130
121
131
### Local development without VM (Valet, etc.)
122
132
123
-
The `--local` flag can be passed at the end of the arguments to skip using WP-CLI aliases for development. This means that you can use the sync script on a local development setup such as Valet.
133
+
The `--local` flag can be passed to skip using WP-CLI aliases for development. This means that you can use the sync script on a local development setup such as Valet.
0 commit comments