@@ -9,7 +9,7 @@ Tom Preston-Werner and Chris Wanstrath.
99
1010.. _grit: http://grit.rubyforge.org
1111
12- The ``method_missing`` stuff was `taken from this blog post`_
12+ The ``method_missing`` stuff was `taken from this blog post`_.
1313
1414.. _taken from this blog post: http://blog.iffy.us/?p=43
1515
@@ -48,21 +48,21 @@ trees, blobs, etc.
4848Initialize a Repo object
4949************************
5050
51- The first step is to create a `Repo` object to represent your repository.
51+ The first step is to create a `` Repo` ` object to represent your repository.
5252
5353 >>> from git_python import *
5454 >>> repo = Repo.new("/Users/mtrier/Development/git-python")
5555
56- In the above example, the directory `/Users/mtrier/Development/git-python` is my working
57- repo and contains the `.git` directory. You can also initialize GitPython with a
56+ In the above example, the directory `` /Users/mtrier/Development/git-python` ` is my working
57+ repo and contains the `` .git` ` directory. You can also initialize GitPython with a
5858bare repo.
5959
6060 >>> repo = Repo.init_bare("/var/git/git-python.git")
6161
6262Getting a list of commits
6363*************************
6464
65- From the `Repo` object, you can get a list of `Commit`
65+ From the `` Repo`` object, you can get a list of `` Commit` `
6666objects.
6767
6868 >>> repo.commits()
@@ -71,7 +71,7 @@ objects.
7171 <GitPython.Commit "e17c7e11aed9e94d2159e549a99b966912ce1091">,
7272 <GitPython.Commit "bd795df2d0e07d10e0298670005c0e9d9a5ed867">]
7373
74- Called without arguments, `Repo.commits` returns a list of up to ten commits
74+ Called without arguments, `` Repo.commits` ` returns a list of up to ten commits
7575reachable by the master branch (starting at the latest commit). You can ask
7676for commits beginning at a different branch, commit, tag, etc.
7777
@@ -130,7 +130,7 @@ The above corresponds to ``master^^^`` or ``master~3`` in git parlance.
130130The Tree object
131131***************
132132
133- A tree recorda pointers to the contents of a directory. Let's say you want
133+ A tree records pointers to the contents of a directory. Let's say you want
134134the root tree of the latest commit on the master branch.
135135
136136 >>> tree = repo.commits()[0].tree
@@ -166,7 +166,7 @@ from a tree.
166166 >>> tree/"lib"
167167 <GitPython.Tree "c1c7214dde86f76bc3e18806ac1f47c38b2b7a30">
168168
169- You can also get a tree directly from the repo if you know its name.
169+ You can also get a tree directly from the repository if you know its name.
170170
171171 >>> repo.tree()
172172 <GitPython.Tree "master">
0 commit comments