Push current branch to remote.
Scanned 5/27/2026
Install via CLI
openskills install egregore-labs/egregorePush current branch to remote.
## Before anything else
Check `git branch --show-current`. If on a protected branch (`develop`, `main`, or `master`):
→ Determine the base branch: for the egregore hub use `develop`, for managed repos read `base_branch` from `egregore.json` repos[] (default `"develop"`)
→ Create a working branch: `git fetch origin $BASE_BRANCH --quiet && git checkout -b dev/{author}/{topic-slug} origin/$BASE_BRANCH`
→ Tell the user: "Creating a working branch for this..." — never mention git commands to the user.
→ Then proceed with the push.
## What to do
1. Push current branch to origin
2. Set upstream if first push
## Example
```
> /push
Pushing feature/2026-01-20-mcp-authentication...
git push -u origin feature/2026-01-20-mcp-authentication
✓ Pushed
Branch is now on GitHub.
Run /pr when ready for review.
```
## Next
Run `/pr` when ready for review.
No comments yet. Be the first to comment!