@@ -27,9 +27,9 @@ After fetching a project with :ref:`dfetch update <update>`, make your edits
2727directly in the vendored source tree. Once you are happy with the changes,
2828run:
2929
30- .. code-block :: sh
30+ .. code-block :: console
3131
32- dfetch diff some-project
32+ $ dfetch diff some-project
3333
3434 *Dfetch * compares the working tree against the revision recorded in the
3535metadata file and writes a patch file named ``some-project.patch `` (or
@@ -86,9 +86,9 @@ As your local edits evolve — or when the upstream version changes — the
8686existing patch file may no longer apply cleanly. Instead of manually
8787regenerating it, run:
8888
89- .. code-block :: sh
89+ .. code-block :: console
9090
91- dfetch update-patch some-project
91+ $ dfetch update-patch some-project
9292
9393 This regenerates the last patch for ``some-project `` from the current working
9494tree, keeping the upstream revision unchanged. It is safe to run repeatedly
@@ -116,9 +116,9 @@ directory inside your repository. Most upstream projects expect patches to be
116116relative to their own root, which is a different path. To reformat all patches
117117for a project:
118118
119- .. code-block :: sh
119+ .. code-block :: console
120120
121- dfetch format-patch some-project
121+ $ dfetch format-patch some-project
122122
123123 This writes a ``formatted-some-project.patch `` file (or one file per patch if
124124there are several) that is ready to attach to a pull request or send by email.
@@ -130,15 +130,15 @@ You can verify the formatted patch applies cleanly before submitting:
130130
131131 .. tab :: Git
132132
133- .. code-block :: sh
133+ .. code-block :: console
134134
135- git apply --check formatted-some-project.patch
135+ $ git apply --check formatted-some-project.patch
136136
137137 .. tab :: SVN
138138
139- .. code-block :: sh
139+ .. code-block :: console
140140
141- svn patch formatted-some-project.patch
141+ $ svn patch formatted-some-project.patch
142142
143143 .. asciinema :: ../asciicasts/format-patch.cast
144144
0 commit comments