-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
document merge-based approach to updating existing PRs #2470
base: master
Are you sure you want to change the base?
Conversation
I will give this a test this evening. |
so this may make sense at the root of |
LGTM, did not test it.. |
I'm inclined to leave this as-is for now (with the recent minor addition of the My impression is that this is placed in the root of I could see placing a more general-purpose "guide to working with Solr PRs" markdown/adoc file in |
PRs.md
Outdated
git remote add mynewfork https://github.com/[user]/lucene.git | ||
git fetch mynewfork | ||
# add [user]'s fork of the legacy (joint) project | ||
git remote add mylegacyfork https://github.com/[user]/lucene-solr.git |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like git merge
and have adapted my remote fork naming convention to suit the repo split situation.
old convention
git remote add github_$user https://github.com/$user/lucene-solr
new convention
git remote add github_$user https://github.com/$user/lucene
git remote add github_$user-lucene-solr https://github.com/$user/lucene-solr
Just sharing in case that might suit others too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @cpoerschke! I definitely prefer your $user
indication of variable-substitution (and have adopted it in e6c9c2d).
Locally I have adopted an analogous (but slightly different) remote-naming convention. I know you weren't necessarily suggesting a change to this PR, but fwiw I think as far as the PR goes though, sticking with trivial names (mynewfork
, mylegacyfork
) simplifies things and helps keep the focus on the process per se. This also may help avoid creating the impression that there's an "official" recommended convention (a fact which may be obvious to many readers, but perhaps not all)?
No description provided.