Skip to content

Commit

Permalink
feat(git): adjust checkout to master alias
Browse files Browse the repository at this point in the history
  • Loading branch information
beiertu-mms committed Sep 4, 2024
1 parent 373d74d commit ab59ff7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .config/git/config
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
cpa = cherry-pick --abort
br = branch
co = checkout
com = "!git checkout master 2>/dev/null || git checkout main"
com = "!git checkout master 2>/dev/null || git checkout main 2>/dev/null || git checkout $(git branch -a | fzf)"
sh = stash
shl = stash list
sha = stash apply
Expand Down

0 comments on commit ab59ff7

Please sign in to comment.