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: Checkout issue branch #47

Closed
wants to merge 2 commits into from

Conversation

morgsmccauley
Copy link
Contributor

This PR adds the <C-b> binding to the issue picker which will create/checkout an issue branch via gh issue develop --checkout.

@@ -16,13 +16,13 @@ local function close_telescope_prompt(prompt_bufnr)
end
return tmp_table[1]
end
local function gh_qf_action(pr_number, action, msg)
if pr_number == nil then
local function gh_qf_action(number, action, msg)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Refactored slightly so that it can work with both issues and PR's

@morgsmccauley
Copy link
Contributor Author

Ah, there is already a PR #46 🤦🏼‍♂️

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.

1 participant