From a7b249041bb32edfb896bef554cf4fa3b4adebd6 Mon Sep 17 00:00:00 2001 From: Jerry Jones Date: Fri, 7 Feb 2025 11:03:48 -0600 Subject: [PATCH] Add note about git add for rsync tracking (#41605) * Add note about git add for rsync tracking --- tools/cli/README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tools/cli/README.md b/tools/cli/README.md index b96d53be95582..dec6d24c5e438 100644 --- a/tools/cli/README.md +++ b/tools/cli/README.md @@ -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 @@ -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 user@your.server.example.com:/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.