Skip to content

Commit 46b404a

Browse files
committed
Add [source,ini] to inline .git/config snippets
1 parent 24157ae commit 46b404a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

book/06-github/sections/3-maintaining.asc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ There's also a way to fetch _all_ of the pull requests, and keep them up to date
170170
Open up `.git/config` in your favorite editor, and look for the `origin` remote.
171171
It should look a bit like this:
172172

173+
[source,ini]
173174
----
174175
[remote "origin"]
175176
url = https://github.com/libgit2/libgit2
@@ -181,6 +182,7 @@ It's a way of mapping names on the remote with names in your local `.git` direct
181182
This particular one tells Git, "the things on the remote that are under `refs/heads` should go in my local repository under `refs/remotes/origin`."
182183
You can modify this section to add another refspec:
183184

185+
[source,ini]
184186
----
185187
[remote "origin"]
186188
url = https://github.com/libgit2/libgit2.git

0 commit comments

Comments
 (0)