-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Clarify merge strategy #3323
Clarify merge strategy #3323
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3323 +/- ##
==========================================
+ Coverage 98% 98.04% +0.03%
==========================================
Files 43 43
Lines 8020 8067 +47
Branches 1354 1379 +25
==========================================
+ Hits 7860 7909 +49
- Misses 66 67 +1
+ Partials 94 91 -3
Continue to review full report at Codecov.
|
docs/contributing.rst
Outdated
|
||
The project uses *Squash-and-Merge* strategy for *GitHub Merge* button. | ||
|
||
Basically it means that there is **no need to rebase*** a Pull Request against |
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.
***
-> **
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.
Also, I'd rephrase to you don't have to
. Because it's a person's choice. I personally like to be doing this a lot.
docs/contributing.rst
Outdated
|
||
Basically it means that there is **no need to rebase*** a Pull Request against | ||
*master* branch. Just ``git merge`` *master* into your working copy (a fork) if | ||
needed. The Pull Request is automatically squashed into the single commit on the PR |
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.
... once the PR is accepted ...
Well, rebase and master merge may produce quite different results, especially for changes against similar things. I would prefer to suggest rebase always on top of master to avoid any confusions. However, still final diff would be good to review for some stranges after any operation. |
|
Take a look at this nice workflow: https://www.gentoo.org/glep/glep-0066.html |
Sorry, I don't follow. |
It's more like sharing a learning resource. I think we could borrow some git configuration advices and instructions from there. |
Ok. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a [new issue] for related bugs. |
Add a hint to avoid unnecessary
git rebase
when working on a PR.