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.

Hotkey for updating branch on a stale PR

See original GitHub issue

I’d like to use a hotkey for updating a branch that has gotten stale. Unless u is already preserved, I’d go with that one once you’re in a pull request page.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:3
  • Comments:13 (13 by maintainers)

github_iconTop GitHub Comments

1reaction
hkdobrevcommented, Mar 1, 2018

This button would merge the default branch in the PR branch with a merge commit if there are no conflicts. I’d still be against doing a shortcut for such an operation. It’s not that common, it writes to Git (even though it’s not destructive).

1reaction
vanniktechcommented, Mar 1, 2018

Yes there’s a repo setting that enforces this (Require branches to be up to date before merging).

screen shot 2018-03-01 at 13 02 57
Read more comments on GitHub >

github_iconTop Results From Across the Web

Hotkey for updating branch on a stale PR · Issue #1105 - GitHub
I'd like to use a hotkey for updating a branch that has gotten stale. Unless u is already preserved, I'd go with that...
Read more >
More ways to keep your pull request branch up-to-date
To update by rebasing, click the drop down menu next to the Update Branch button, click Update with rebase, and then click Rebase...
Read more >
Using Branches and Pull Requests with the Shortcut VCS ...
When a Story has a linked branch, you can open a new Pull Request from the Shortcut UI by clicking the "Open PR"...
Read more >
git checkout - Switching branches and restoring files
Learn how to use the 'git checkout' command to switch the currently active branch, create a new branch, or restore files.
Read more >
Working with Pull Requests in Visual Studio Code and GitHub
Pull requests let your team give feedback on changes in feature branches before merging the code into the master branch.
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