chore: add dual-remote helper workflow

This commit is contained in:
Md Bayazid Bostame
2026-03-31 12:26:11 +02:00
parent 89cc11e41e
commit 8f61e43e9b
3 changed files with 152 additions and 0 deletions

View File

@@ -34,6 +34,30 @@ Rule:
Do not let a customer deployment track `develop` directly.
## Dual Remote Workflow
This repository now has two different Git remotes with different purposes:
- `origin`: the normal GitHub product remote
- `tubco`: the TUBCO customer remote
Use the helper command to avoid mixing them up:
```bash
./scripts/git_remote_target.sh status
```
Common commands:
```bash
./scripts/git_remote_target.sh push-origin
./scripts/git_remote_target.sh push-tubco release/tubco-v1
./scripts/git_remote_target.sh set-own-identity
./scripts/git_remote_target.sh set-tubco-identity
```
Default rule:
- normal product work goes to `origin`
- TUBCO pushes happen only when explicitly requested
## Current Delivery Model
- GitHub Actions is used for CI
- the current test server is local/LAN-only