Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add note about git add for rsync tracking #41605

Merged
merged 2 commits into from
Feb 7, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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