File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -91,9 +91,12 @@ Backports
9191When doing backports please include the branch you backported the
9292commit to along with the SHA in a comment on the original PR.
9393
94- Assuming we have ``matplotlib `` as a read-only remote to the
95- matplotlib/matplotlib repo and ``DANGER `` as a read/write remote to
96- the matplotlib/matplotlib repo, we do a backport from master to 2.x.
94+ We do a backport from master to 2.x. assuming:
95+
96+ * ``matplotlib `` is a read-only remote branch of the matplotlib/matplotlib repo
97+
98+ * ``DANGER `` is a read/write remote branch of the matplotlib/matplotlib repo
99+
97100The ``TARGET_SHA `` is the hash of the merge commit you would like to
98101backport. This can be read off of the github PR page (in the UI with
99102the merge notification) or through the git CLI tools.::
@@ -102,7 +105,7 @@ the merge notification) or through the git CLI tools.::
102105 git checkout v2.x
103106 git merge --ff-only matplotlib/v2.x
104107 git cherry-pick -m 1 TARGET_SHA
105- gitk # to look at it
108+ git log --graph --decorate # to look at it
106109 # local tests? (use your judgment)
107110 git push DANGER v2.x
108111 # leave a comment on PR noting sha of the resulting commit
You can’t perform that action at this time.
0 commit comments