question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cmd-R not opening pull request for active branch

See original GitHub issue

I’m in version 1.0.10 on macOS Sierra. I’m experiencing a problem where when I hit Cmd-R to open the existing pull request or create a new pull request for the current branch, it instead opens the wrong pull request in my browser. For example, I’m on a branch that does not have a PR right now, named fix-flaky-test. When I hit Cmd-R from GitHub Desktop, it opens an existing pull request for a branch titled search-nav.

My current branch was started directly from master, and shouldn’t include any of the same commits as what are in the search-nav branch besides those shared from also starting search-nav off of master. So it doesn’t seem at all related to the branch of the PR Desktop takes me to, except that I have worked on search-nav earlier today and it might be remembering that instead of using my current branch?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
iAmWillShepherdcommented, Dec 7, 2017

PR #3432 should have made this menu item dynamic and PR #3511 should ensure that the menu item is updated everytime the active branch is changed.

1reaction
tierninhocommented, Dec 6, 2017

Here is a visual for this bug. The Cmd-R should open the top PR as it is associated with the current branch, not the grey highlighted one which is randomly selected.

screen shot 2017-12-06 at 1 34 34 pm
Read more comments on GitHub >

github_iconTop Results From Across the Web

Creating a pull request - GitHub Docs
Pull requests can only be opened between two branches that are different. Note: To open a pull request in a public repository, you...
Read more >
How to modify someone else's Github pull request?
1. IIUC a pull request can only contain changes from the branch from which the request was submitted. · 1 · Current github...
Read more >
How to open a pull request - Axolo
To resolve conflicts from your IDE, open it and change your current branch to your pull request branch with git checkout BRANCH-NAME ....
Read more >
Solved: If a pull request is not yet closed can I create o...
Hello @T_Naveen_Kumar ,. There can be only one open PR from a given branch. However, you can create a new branch from the...
Read more >
More ways to keep your pull request branch up-to-date
A new repository setting lets admins opt into having the Update branch button always available whenever a pull request's branch is not up...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found