Skip to content

Commit b1ef33f

Browse files
committed
📝 update readme
1 parent 31b115c commit b1ef33f

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

README.md

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -114,17 +114,27 @@ $ ./sync.sh staging production
114114

115115
### Skipping database or assets during sync
116116

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.
118118

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+
```
120130

121131
### Local development without VM (Valet, etc.)
122132

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.
124134

125135
```sh
126136
# Sync production down to development
127-
$ ./sync.sh production development --local
137+
$ ./sync.sh --local production development
128138
```
129139

130140
## Troubleshooting

0 commit comments

Comments
 (0)