Skip to content

feat: add-branch-command#100

Merged
BjoernKarma merged 3 commits into
mainfrom
feat/git-branch
May 29, 2026
Merged

feat: add-branch-command#100
BjoernKarma merged 3 commits into
mainfrom
feat/git-branch

Conversation

@BjoernKarma
Copy link
Copy Markdown
Owner

Why

When working across many feature branches simultaneously, it's essential to know which branch each repository is on at a glance. git status provides this but includes working-tree noise; there's no clean gitctl command that shows just the current branch per repo.

What Changes

  • Add a branch subcommand that runs git branch --show-current on all discovered repositories and reports the current branch name for each.
  • Register branch alongside status, pull, fetch, and stash in the root command.
  • Extend the runRaw command switch to handle branch.
  • Add branch to the supported commands table in the command-execution spec.

@BjoernKarma BjoernKarma merged commit b5661f0 into main May 29, 2026
8 checks passed
gitctl-bot Bot pushed a commit that referenced this pull request May 29, 2026
# [1.3.0](v1.2.0...v1.3.0) (2026-05-29)

### Features

* add-branch-command ([#100](#100)) ([b5661f0](b5661f0))
* add-fetch-command ([#98](#98)) ([ade5624](ade5624))
* add-stash-command ([#99](#99)) ([b0d2263](b0d2263))
BjoernKarma added a commit that referenced this pull request Jun 1, 2026
* docs: openspec propose add-branch-command

* docs: openspec apply add-branch-command

* docs: openspec archive add-branch-command

---------

Co-authored-by: Björn Kottner <1780890+BjoernKarma@users.noreply.github.com>
BjoernKarma pushed a commit that referenced this pull request Jun 1, 2026
# [1.3.0](v1.2.0...v1.3.0) (2026-05-29)

### Features

* add-branch-command ([#100](#100)) ([538f1c3](538f1c3))
* add-fetch-command ([#98](#98)) ([d651947](d651947))
* add-stash-command ([#99](#99)) ([c947f8e](c947f8e))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants