You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Creating a PR from master branch is an anti-pattern, but I still see many users that do it. This creates many problems, like accidentally committing to an older open PR by just committing to their fork's master branch. Would be nice to show a big warning with a link to an explanation why they should create a PR-specific branch instead if they try to create a PR from master.
For anyone that wants this, please also send this feature request to GitHub: [email protected]
Reacted by fregante, Steven, Salmanul Farzy, Andrea Arighi and Alejandro Angulo
Activity
fregante commentedon Jan 17, 2019
This shouldn't be too hard.
The URL looks like this:
If
feature.isCompareand iflocation.pathnameends in`${getUsername()}:${getDefaultBranch()}`, add warning somewhere on the page.PR welcome
alejandro-angulo commentedon Feb 8, 2019
Created a PR for this here: #1758 .