Repository navigation
Offer branching from upstream default branch in forks - #9268
Merged
Merged
Conversation
Bunge07
previously approved these changes
Mar 15, 2020
outofambit
commented
Mar 17, 2020
addresses fork case differently
sorry this commit message sucks
when making a new branch directly off of it
outofambit
force-pushed
the
feature/fresher-fork-branches
branch
from
March 17, 2020 00:19
58c4afb to
4b79f3f
Compare
tierninho
previously approved these changes
Mar 17, 2020
tierninho
left a comment
Contributor
There was a problem hiding this comment.
Tested the scenarios around this including create a new upstream branch off existing Master, off an existing branch, and off of a newly created branch. Windows and OSX tests results in the same functionality and when doing a compare the results were inline with expectations, as seen here:
Some potential things to call out:
- a user could change the branch name in GitHub.com
- Not sure if an admin can disable forking midstream, ahead of a user creating the new upstream branch
kuychaco
reviewed
Mar 17, 2020
kuychaco
left a comment
Contributor
There was a problem hiding this comment.
This looks great @outofambit! 💖
I left one blocking comment/question (denoted by
Co-Authored-By: Katrina Uychaco <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Closes #7762
Description
This got a bit more involved than I had anticipated.
Screenshots
When creating a branch from your fork's default branch, the default is to start from the upstream/default branch

When creating a branch from another branch on your fork, you choose between starting from where you are on your fork or starting from upstream/default

Release notes
Notes: [Improved] Offer upstream default branch as starting place for new branches in forks