kosa8 cloud sandbox push
Commit a sandbox's changes to its repo and push them to a branch on GitHub
Available from the next release (after v0.24.0). The current release, v0.24.0, does not have kosa8 cloud sandbox push: run kosa8 version to see which one you have.
Usage#
kosa8 cloud sandbox push ID
Commits every change in the sandbox's repo (author kosa8, with you as co-author) and pushes it to a branch, kosa8/<sandbox> unless --branch names one. The sandbox never holds a GitHub token: kosa8 Cloud pushes with one minted for this repo and this push only. Open a pull request from it with kosa8 cloud sandbox pr.
Options#
| Flag | Type | What it does | Default |
|---|---|---|---|
--branch | string | the branch to push to (default kosa8/<sandbox>) | — |
-m, --message | string | the commit message (default "Changes from kosa8 sandbox <id>") | — |
--path | string | the repo's path in the sandbox, when it is not where --repo cloned it | — |
Example#
kosa8 cloud sandbox push sbx_… kosa8 cloud sandbox push sbx_… --branch fix/login --message "Fix the login redirect"