Skip to content

Commit

Permalink
Add note about git add for rsync tracking (#41605)
Browse files Browse the repository at this point in the history
* Add note about git add for rsync tracking
  • Loading branch information
jeryj authored Feb 7, 2025
1 parent c99d1d8 commit a7b2490
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tools/cli/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# jetpack CLI

The `jetpack` CLI tool is used to help with development in [the Jetpack monorepo].
The `jetpack` CLI tool is used to help with development in [the Jetpack monorepo](https://github.com/Automattic/jetpack).

## Installation

Expand Down Expand Up @@ -96,8 +96,7 @@ Watch a monorepo project, which will rebuild the project as changes are made so
Maybe you'd prefer to develop against a live site instead of Docker. Or maybe you want to quickly push the plugin you're building to a live JN site without waiting for the builds. This rsync wrapper knows which files to send and not send.

- Rsync the Jetpack plugin to server destination: `jetpack rsync jetpack [email protected]:/home/path/to/wp-content/plugins`

[the Jetpack monorepo]: https://github.com/Automattic/jetpack
- Note: You need to git add new files so jetpack rsync will take them into account.

**Draft**: Enable or disable "draft mode" for the repo.

Expand Down

0 comments on commit a7b2490

Please sign in to comment.