document merge-based approach to updating existing PRs#2470
document merge-based approach to updating existing PRs#2470magibney wants to merge 3 commits intoapache:masterfrom
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.
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.
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.