Scenario: shared-remote-url
Two splices with the same upstream URL. They act like two clones of one repository: each has its own synced commit and its own private refs.
- Monorepo:
vendor/a/andvendor/b/, both cloned atseed. - Upstream: one repository,
seed.
Output
setup.bash builds this state:
$ build_scenario scenario_shared_remote_url
$ git splice status
On branch main
up to date vendor/a
up to date vendor/b
$ echo "only in b" >>vendor/b/file.txt && git commit -q -am "change b"
$ git splice status
On branch main
ahead 1 vendor/b
up to date vendor/a