sidecarsync 1.4.0 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +18 -1
- package/dist/cli.js +4072 -850
- package/package.json +6 -2
- package/scripts/postinstall.js +19 -2
package/README.md
CHANGED
|
@@ -80,11 +80,28 @@ sidecar init --path .
|
|
|
80
80
|
Sidecar takes over branch management there —
|
|
81
81
|
[how standalone works](docs/standalone.md).
|
|
82
82
|
|
|
83
|
+
### Peers
|
|
84
|
+
|
|
85
|
+
A repo can carry more than one sidecar. `.sidecar` is the default; every
|
|
86
|
+
`.sidecar.<name>` beside it is another, with its own remote and checkout,
|
|
87
|
+
and the two never interact — so one can be committed for the team while
|
|
88
|
+
another is gitignored and yours alone:
|
|
89
|
+
|
|
90
|
+
```sh
|
|
91
|
+
sidecar init git@github.com:you/your-repo-private.git --peer private --ignored
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
Every command acts on all peers unless `--peer` names one —
|
|
95
|
+
[how peers work](docs/sync.md#peers-several-sidecars-in-one-repo).
|
|
96
|
+
|
|
83
97
|
## Learn more
|
|
84
98
|
|
|
99
|
+
- [Agent guide and Sidecar skill](docs/agents.md) — peer selection, handoffs, sync, and environment variables
|
|
85
100
|
- [How syncing works](docs/sync.md) — the daemon, inbox branches, conflict-free merging
|
|
86
101
|
- [Standalone repos](docs/standalone.md) — a repo that is its own sidecar
|
|
87
|
-
- [
|
|
102
|
+
- [Peers](docs/sync.md#peers-several-sidecars-in-one-repo) — several sidecars in one repo, one committed and one ignored
|
|
103
|
+
- [Per-file rules](docs/rules.md) — glob-based merge and redaction policy for each peer
|
|
104
|
+
- [Redaction](docs/redaction.md) — what's stripped from pushes and how to review it
|
|
88
105
|
- [Editor search visibility](docs/editors.md) — making gitignored files searchable
|
|
89
106
|
- [Global vs local installs](docs/install.md) — the newest install wins
|
|
90
107
|
- [All commands](docs/commands.md)
|