FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Use emoji to illustrate good and bad example commit messages by hugovk · Pull Request #1235 · python/devguide · GitHub

Repository navigation

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .rst  (2) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
10 changes: 5 additions & 5 deletions getting-started/git-boot-camp.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ Solution:

2. Apply the patch::

git apply /path/to/patch.diff
$ git apply /path/to/patch.diff

If there are errors, update to a revision from when the patch was
created and then try the ``git apply`` again::
Expand Down Expand Up @@ -489,7 +489,7 @@ in place of the gray ``Enable auto-merge`` button you will find a green

In either case, adjust and clean up the commit message.

Here's an example of a **good** commit message:
✅ Here's an example of a **good** commit message:

.. code-block:: text

Expand All @@ -498,7 +498,7 @@ Here's an example of a **good** commit message:
* Add method A to the spam module
* Update the documentation of the spam module

Here's an example of a **bad** commit message:
❌ Here's an example of a **bad** commit message:

.. code-block:: text

Expand Down Expand Up @@ -573,7 +573,7 @@ The above commands will print out the hash of the commit containing
When formatting the commit message for a backport commit: leave the original
one as is and delete the number of the backport pull request.

Example of good backport commit message:
✅ Example of good backport commit message:

.. code-block:: text

Expand All @@ -584,7 +584,7 @@ Example of good backport commit message:

(cherry picked from commit 62adc55)

Example of bad backport commit message:
❌ Example of bad backport commit message:

.. code-block:: text

Expand Down
4 changes: 3 additions & 1 deletion index.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,9 @@ instructions please see the :ref:`setup guide <setup>`.

7. Push the branch on your fork on GitHub and :ref:`create a pull request
<pullrequest>`. Include the issue number using ``gh-NNNN`` in the
pull request description. For example::
pull request description. For example:

.. code-block:: text

gh-12345: Fix some bug in spam module

Expand Down

Back | FazBrowse Home | New Git URL