ohmybash / oh-my-bash

A delightful community-driven framework for managing your bash configuration, and an auto-update tool so that makes it easy to keep up with the latest updates from the community.
https://ohmybash.github.io
MIT License
5.55k stars 626 forks source link

feat: Add git worktree aliases #455

Closed rbevin777 closed 11 months ago

rbevin777 commented 11 months ago

I was using worktrees and I thought it would be handy to have some aliases for using git worktrees.

akinomyoga commented 11 months ago

Thanks for your contribution! If we'd add these aliases, I'd like to make it consistent with plugins/git/git.plugin.zsh - ohmyzsh/oh-my-zsh:

alias gwt='git worktree'
alias gwta='git worktree add'
alias gwtls='git worktree list'
alias gwtmv='git worktree move'
alias gwtrm='git worktree remove'

What do you think?

rbevin777 commented 11 months ago

Thanks for your contribution! If we'd add these aliases, I'd like to make it consistent with plugins/git/git.plugin.zsh - ohmyzsh/oh-my-zsh:

alias gwt='git worktree'
alias gwta='git worktree add'
alias gwtls='git worktree list'
alias gwtmv='git worktree move'
alias gwtrm='git worktree remove'

What do you think?

Yea sounds good to me!