Skip to content

Commit 16e83b3

Browse files
committed
Fix code blocks in contributing/code/git.rst
1 parent ddf358e commit 16e83b3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

contributing/code/git.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ request (including comments) is saved in the repository.
1313
You can easily spot pull request merges as the commit message always follows
1414
this pattern:
1515

16-
.. block: text
16+
.. code-block:: text
1717
1818
merged branch USER_NAME/BRANCH_NAME (PR #1111)
1919
@@ -30,13 +30,13 @@ stored as a Git note (before March 22 2013, the discussion was part of the
3030
main merge commit message). To get access to these notes, add this line to
3131
your ``.git/config`` file:
3232

33-
.. block: text
33+
.. code-block:: ini
3434
3535
fetch = +refs/notes/*:refs/notes/*
3636
3737
After a fetch, getting the Github discussion for a commit is then a matter of
3838
adding ``--show-notes=github-comments`` to the ``git show`` command:
3939

40-
.. block: text
40+
.. code-block:: bash
4141
42-
git show HEAD --show-notes=github-comments
42+
$ git show HEAD --show-notes=github-comments

0 commit comments

Comments
 (0)