Repository navigation
fix(aliases): add gb shortcut for git branch - #513
Merged
Merged
Conversation
Closes #512. Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
primetimetank21
commented
Sep 25, 2026
primetimetank21
left a comment
Owner
Author
There was a problem hiding this comment.
Coordinator review of 6596ee9: no findings.
- Two-line scope is correct: add
gb=git branchto shared Bash/Zsh aliases and remove its Windows-only parity exception. Existing WindowsGet-GitBranchalready forwards togit branch. - Re-ran Bash syntax, alias parity, all six existing alias tests, and mocked-Git checks with and without arguments at the exact PR head; all passed. Diff whitespace check passed.
- All 10 PR CI checks passed, including Linux/macOS/Windows E2E and PowerShell 5.1 compatibility. The user also confirmed the shortcut works on WSL.
- No shutdown helper changes are included.
Proceeding with the requested regular merge using the owner override documented in CONTRIBUTING.md, solely because GitHub does not allow the solo owner to self-approve.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
gb→git branchto the shared Bash/Zsh aliases.gbexception so alias-parity tests guard against its removal.gb) and local WSL shutdown overrides unchanged.Closes #512.
Validation
bash -n config/dotfiles/.aliases tests/test_alias_parity.shbash tests/test_alias_parity.sh— passedbash tests/test_aliases.sh— 6 passed, 0 failedgb --list "feature/*"forwardsbranch,--list, andfeature/*unchanged.git diff --checkZsh and ShellCheck are not installed locally; neither was run. This is a nonvisual shell-alias change.