Skip to content

Commit

Permalink
git: Add fzf flavoured git aliases for checkout, branch -d
Browse files Browse the repository at this point in the history
  • Loading branch information
maiwald committed Dec 30, 2024
1 parent 077029b commit 4c934c0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .zsh/aliases
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ alias gp='git pull --rebase --autostash'
alias gpp='git pull --rebase --autostash && git push'
alias grc='git rebase --continue'
alias gst='git status'
alias gcof='git checkout $(git branch | fzf)'
alias gbd='git branch -d $(git branch | fzf)'

function gm {
git rev-parse --verify main &> /dev/null
Expand Down

0 comments on commit 4c934c0

Please sign in to comment.