From 6596ee927dd96b73ecf6bd1a1ee6f231412e78f1 Mon Sep 17 00:00:00 2001 From: "Earl Tankard, Jr., Ph.D" <45021016+primetimetank21@users.noreply.github.com> Date: Thu, 24 Sep 2026 23:56:11 -0400 Subject: [PATCH] fix(aliases): add gb shortcut for git branch Closes #512. Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com> --- config/dotfiles/.aliases | 1 + tests/test_alias_parity.sh | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/config/dotfiles/.aliases b/config/dotfiles/.aliases index 3dfc6a5..1e993fc 100644 --- a/config/dotfiles/.aliases +++ b/config/dotfiles/.aliases @@ -65,6 +65,7 @@ alias lh='ls -alFh' # human-readable sizes alias ga='git add' # stage a file alias gaa='git add --all' # stage all changes +alias gb='git branch' # list, create, or delete branches alias gc='git commit -v' # commit with verbose diff alias gcm='git commit -m' # commit with inline message alias gcb='git checkout -b' # create and switch to new branch diff --git a/tests/test_alias_parity.sh b/tests/test_alias_parity.sh index 1207176..8673ffa 100644 --- a/tests/test_alias_parity.sh +++ b/tests/test_alias_parity.sh @@ -40,7 +40,6 @@ fi # meaning the alias exists ONLY on that platform. ALLOWED_ALIAS_DRIFT=( - "gb:windows" # git branch shortcut -- Windows only (no Linux equivalent yet) "..:linux" # cd .. -- navigation shortcut, not applicable on Windows "...:linux" # cd ../.. -- navigation shortcut "....:linux" # cd ../../.. -- navigation shortcut