This is an automated email from the ASF dual-hosted git repository.

uranusjr pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 0fc1582bf1 reformat summary commands (#42171)
0fc1582bf1 is described below

commit 0fc1582bf1e9efec9336c8914d20a7d15df4953b
Author: leoguzman <[email protected]>
AuthorDate: Wed Sep 11 20:00:15 2024 +0000

    reformat summary commands (#42171)
    
    Co-authored-by: Tzu-ping Chung <[email protected]>
    Co-authored-by: Ryan Hatter <[email protected]>
---
 contributing-docs/10_working_with_git.rst | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/contributing-docs/10_working_with_git.rst 
b/contributing-docs/10_working_with_git.rst
index 6c8e2af6b1..bc0b74a055 100644
--- a/contributing-docs/10_working_with_git.rst
+++ b/contributing-docs/10_working_with_git.rst
@@ -191,11 +191,13 @@ Summary
 
 Useful when you understand the flow but don't remember the steps and want a 
quick reference.
 
-``git fetch --all``
-``git merge-base my-branch apache/main``
-``git checkout my-branch``
-``git rebase HASH --onto apache/main``
-``git push --force-with-lease``
+.. code-block:: console
+
+    git fetch --all
+    git merge-base my-branch apache/main
+    git checkout my-branch
+    git rebase HASH --onto apache/main
+    git push --force-with-lease
 
 -------
 

Reply via email to