mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 12:15:29 +00:00
feat: add an alias to filter recent Git branches
This commit is contained in:
@@ -126,6 +126,8 @@ alias gwl 'git worktree list'
|
||||
alias gwp 'git whatchanged -p'
|
||||
alias gwr 'git worktree remove' # <path/name>
|
||||
alias lg 'lazygit'
|
||||
alias gcrb 'git branch --sort=-committerdate | fzf --header "Checkout Recent Branch" --preview "git diff --color=always {1}" --pointer="" | xargs git checkout '
|
||||
|
||||
|
||||
# Vim/Neovim
|
||||
alias v "vim"
|
||||
|
||||
@@ -417,6 +417,7 @@ alias gw='git worktree'
|
||||
alias gwl='git worktree list'
|
||||
alias gwa='git worktree add' # <folder> <branch/hash>
|
||||
alias gwr='git worktree remove' # <path/name>
|
||||
alias gcrb='git branch --sort=-committerdate | fzf --header "Checkout Recent Branch" --preview "git diff --color=always {1}" --pointer="" | xargs git checkout '
|
||||
|
||||
# Vim
|
||||
alias v='vim'
|
||||
|
||||
Reference in New Issue
Block a user