Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add git worktree aliases #455

Merged
merged 3 commits into from
Jul 19, 2023

Conversation

rbevin777
Copy link
Contributor

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

@rbevin777 rbevin777 changed the title Add git worktree aliases feat: Add git worktree aliases Jul 18, 2023
@akinomyoga
Copy link
Contributor

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
Copy link
Contributor Author

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!

Copy link
Contributor

@akinomyoga akinomyoga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@akinomyoga akinomyoga merged commit 8e785b1 into ohmybash:master Jul 19, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants