File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -183,6 +183,30 @@ PR Review guidelines
183183* Be patient with new contributors.
184184
185185
186+ Backports
187+ =========
188+
189+
190+ When doing back ports please include the branch you backported the
191+ commit to along with the SHA in a comment on the original PR.
192+
193+ A quick guide to how to back port a merge commit::
194+
195+ git remote update
196+ git checkout target_branch
197+ git merge --ff-only matplotlib/target_branch
198+ git cherry-pick -m 1 TARGET_SHA
199+ gitk # to look at it
200+ # local tests? (use your judgment)
201+ git push DANGER target_branch
202+ # leave a comment on PR noting sha of the resulting commit
203+ # from the cherry-pick + branch it was moved to
204+
205+ here matplotlib is a read-only remote to the matplotlib/matplotlib repo and DANGER in a read/write remote to the matplotlib/matplotlib repo.
206+
207+ These commands work on git 2.7.1.
208+
209+
186210Style guide
187211===========
188212
You can’t perform that action at this time.
0 commit comments