Skip to content

Commit

Permalink
feat(git): add gba alias
Browse files Browse the repository at this point in the history
Add new alias:
- `bga`: List all branches (local and remote).
  • Loading branch information
gkalpak committed Aug 29, 2024
1 parent fc3879c commit 47a8671
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,7 @@ const ALIASES = {

// BRANCH
gb: new AliasDefault('git branch $*'),
gba: new AliasDefault('git branch --all $*'),
gbc: new AliasDefault(GIT_CREATE_BRANCH_CMD('${2:HEAD}')),
gbcd: new AliasDefault(GIT_CREATE_BRANCH_CMD('${0:::gdefb}')),
gbco: new AliasDefault(`git fetch origin $1 && ${GIT_CREATE_BRANCH_CMD('origin/$1')}`),
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
"dkrrm": "bin/docker/dkrrm.js",
"gaa": "bin/git/gaa.js",
"gb": "bin/git/gb.js",
"gba": "bin/git/gba.js",
"gbc": "bin/git/gbc.js",
"gbcd": "bin/git/gbcd.js",
"gbco": "bin/git/gbco.js",
Expand Down

0 comments on commit 47a8671

Please sign in to comment.