File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ request (including comments) is saved in the repository.
13
13
You can easily spot pull request merges as the commit message always follows
14
14
this pattern:
15
15
16
- .. block: text
16
+ .. code- block: : text
17
17
18
18
merged branch USER_NAME/BRANCH_NAME (PR #1111)
19
19
@@ -30,13 +30,13 @@ stored as a Git note (before March 22 2013, the discussion was part of the
30
30
main merge commit message). To get access to these notes, add this line to
31
31
your ``.git/config `` file:
32
32
33
- .. block: text
33
+ .. code- block :: ini
34
34
35
35
fetch = +refs/notes/*:refs/notes/*
36
36
37
37
After a fetch, getting the Github discussion for a commit is then a matter of
38
38
adding ``--show-notes=github-comments `` to the ``git show `` command:
39
39
40
- .. block: text
40
+ .. code- block :: bash
41
41
42
- git show HEAD --show-notes=github-comments
42
+ $ git show HEAD --show-notes=github-comments
You can’t perform that action at this time.
0 commit comments