File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -216,9 +216,9 @@ Please update the resulting commit message, if needed. It should read as a
216
216
coherent message. In most cases, this means not just listing the interim
217
217
commits.
218
218
219
- If you have problems with squashing or other git workflows, you can enable
220
- "Allow edits from maintainers" in the right-hand sidebar of the GitHub web
221
- interface and ask for help in the pull request .
219
+ If your change contains a merge commit, the above workflow may not work and you
220
+ will need to remove the merge commit first. See the next section for details on
221
+ how to rebase .
222
222
223
223
Please refrain from creating several pull requests for the same change.
224
224
Use the pull request that is already open (or was created earlier) to amend
@@ -231,7 +231,9 @@ pull request to pull request.
231
231
### Rebasing Changes
232
232
233
233
When a pull request conflicts with the target branch, you may be asked to rebase it on top of the current target branch.
234
- The ` git rebase ` command will take care of rebuilding your commits on top of the new base.
234
+
235
+ git fetch https://github.com/bitcoin/bitcoin # Fetch the latest upstream commit
236
+ git rebase FETCH_HEAD # Rebuild commits on top of the new base
235
237
236
238
This project aims to have a clean git history, where code changes are only made in non-merge commits. This simplifies
237
239
auditability because merge commits can be assumed to not contain arbitrary code changes. Merge commits should be signed,
You can’t perform that action at this time.
0 commit comments