We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77ffd39 commit 7e586aaCopy full SHA for 7e586aa
contributing/code/patches.rst
@@ -243,6 +243,12 @@ with master, don't merge; and force the push to the origin:
243
$ git rebase -f upstream/master
244
$ git push -f origin BRANCH_NAME
245
246
+.. note::
247
+
248
+ when doing a push -f (or --force), always specify the branch name explicitly
249
+ to avoid messing other branches in the repo (--force tells git that you
250
+ really want to mess with things so do it carefully).
251
252
Often, moderators will ask you to "squash" your commits. This means you will
253
convert many commits to one commit. To do this, use the rebase command:
254
0 commit comments