-
-
Notifications
You must be signed in to change notification settings - Fork 132
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
Feature/select base branch #59
base: master
Are you sure you want to change the base?
Conversation
95a9e75
to
7453602
Compare
7453602
to
a7a9208
Compare
is this ready to be reviewed? |
Yes |
This is fantastic. It's really annoying having to create a branch separately first. |
Looking for this functionality myself. Also you've had to duplicate the |
I have switched to use my own worktrees.nvim plugin. Which, including that this pr has been inactive for a while, is the reason I'm not going to continue with this pr. The styling changes are mostly on a separate commit, so it should not be hard to check the actual changes needed for this from the other 2 commits. |
Cool, will take a look thanks |
I added an option to set branch from which to create new worktrees and branches.
Currently this checks if a base branch is set and is valid and uses it, otherwise it uses the current worktree / branch.
I also added option to telescope extension where if making new worktree with completely new branch it will ask if user wants to use current worktree or set it manually. If manual selection is selected a git branches pop up will be shown where the base branch can be selected. If user inputs invalid base branch the current worktree / branch will be used.
@ThePrimeagen I also took the liberty to add stylua configuration and ran that for the whole project. It is its own commit so if you want me to take it away I can do that fairly easily.
Closes #57