@@ -18,31 +18,31 @@ There are a few ways to create a :class:`git.Repo <git.repo.base.Repo>` object
18
18
Initialize a new git Repo
19
19
#########################
20
20
21
- .. literalinclude :: ../../test/test_quick_doc.py
22
- :language: python
23
- :dedent: 8
24
- :start-after: # [1-test_init_repo_object]
25
- :end-before: # ![1-test_init_repo_object]
21
+ .. literalinclude :: ../../test/test_quick_doc.py
22
+ :language: python
23
+ :dedent: 8
24
+ :start-after: # [1-test_init_repo_object]
25
+ :end-before: # ![1-test_init_repo_object]
26
26
27
27
Existing local git Repo
28
28
#######################
29
29
30
- .. literalinclude :: ../../test/test_quick_doc.py
31
- :language: python
32
- :dedent: 8
33
- :start-after: # [2-test_init_repo_object]
34
- :end-before: # ![2-test_init_repo_object]
30
+ .. literalinclude :: ../../test/test_quick_doc.py
31
+ :language: python
32
+ :dedent: 8
33
+ :start-after: # [2-test_init_repo_object]
34
+ :end-before: # ![2-test_init_repo_object]
35
35
36
36
Clone from URL
37
37
##############
38
38
39
39
For the rest of this tutorial we will use a clone from https://github.com/gitpython-developers/QuickStartTutorialFiles.git
40
40
41
- .. literalinclude :: ../../test/test_quick_doc.py
42
- :language: python
43
- :dedent: 8
44
- :start-after: # [1-test_cloned_repo_object]
45
- :end-before: # ![1-test_cloned_repo_object]
41
+ .. literalinclude :: ../../test/test_quick_doc.py
42
+ :language: python
43
+ :dedent: 8
44
+ :start-after: # [1-test_cloned_repo_object]
45
+ :end-before: # ![1-test_cloned_repo_object]
46
46
47
47
48
48
Trees & Blobs
@@ -51,50 +51,50 @@ Trees & Blobs
51
51
Latest Commit Tree
52
52
##################
53
53
54
- .. literalinclude :: ../../test/test_quick_doc.py
55
- :language: python
56
- :dedent: 8
57
- :start-after: # [12-test_cloned_repo_object]
58
- :end-before: # ![12-test_cloned_repo_object]
54
+ .. literalinclude :: ../../test/test_quick_doc.py
55
+ :language: python
56
+ :dedent: 8
57
+ :start-after: # [12-test_cloned_repo_object]
58
+ :end-before: # ![12-test_cloned_repo_object]
59
59
60
60
Any Commit Tree
61
61
###############
62
62
63
- .. literalinclude :: ../../test/test_quick_doc.py
64
- :language: python
65
- :dedent: 8
66
- :start-after: # [13-test_cloned_repo_object]
67
- :end-before: # ![13-test_cloned_repo_object]
63
+ .. literalinclude :: ../../test/test_quick_doc.py
64
+ :language: python
65
+ :dedent: 8
66
+ :start-after: # [13-test_cloned_repo_object]
67
+ :end-before: # ![13-test_cloned_repo_object]
68
68
69
69
Display level 1 Contents
70
70
########################
71
71
72
- .. literalinclude :: ../../test/test_quick_doc.py
73
- :language: python
74
- :dedent: 8
75
- :start-after: # [14-test_cloned_repo_object]
76
- :end-before: # ![14-test_cloned_repo_object]
72
+ .. literalinclude :: ../../test/test_quick_doc.py
73
+ :language: python
74
+ :dedent: 8
75
+ :start-after: # [14-test_cloned_repo_object]
76
+ :end-before: # ![14-test_cloned_repo_object]
77
77
78
- .. literalinclude :: ../../test/test_quick_doc.py
79
- :language: python
80
- :dedent: 8
81
- :start-after: # [14.1-test_cloned_repo_object]
82
- :end-before: # ![14.1-test_cloned_repo_object]
78
+ .. literalinclude :: ../../test/test_quick_doc.py
79
+ :language: python
80
+ :dedent: 8
81
+ :start-after: # [14.1-test_cloned_repo_object]
82
+ :end-before: # ![14.1-test_cloned_repo_object]
83
83
84
84
Recurse through the Tree
85
85
########################
86
86
87
- .. literalinclude :: ../../test/test_quick_doc.py
88
- :language: python
89
- :dedent: 8
90
- :start-after: # [15-test_cloned_repo_object]
91
- :end-before: # ![15-test_cloned_repo_object]
87
+ .. literalinclude :: ../../test/test_quick_doc.py
88
+ :language: python
89
+ :dedent: 8
90
+ :start-after: # [15-test_cloned_repo_object]
91
+ :end-before: # ![15-test_cloned_repo_object]
92
92
93
- .. literalinclude :: ../../test/test_quick_doc.py
94
- :language: python
95
- :dedent: 8
96
- :start-after: # [16-test_cloned_repo_object]
97
- :end-before: # ![16-test_cloned_repo_object]
93
+ .. literalinclude :: ../../test/test_quick_doc.py
94
+ :language: python
95
+ :dedent: 8
96
+ :start-after: # [16-test_cloned_repo_object]
97
+ :end-before: # ![16-test_cloned_repo_object]
98
98
99
99
100
100
0 commit comments