Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6d78ff1

Browse files
committed
Made trees and blobs the first section
1 parentaa6d27f commit6d78ff1

File tree

1 file changed

+68
-65
lines changed

1 file changed

+68
-65
lines changed

‎doc/source/quickstart.rst

Lines changed: 68 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,74 @@ Welcome to the GitPython Quickstart Guide! Designed for developers seeking a pra
1111

1212
All code presented here originated from `***** insert link ****<https://github.com/gitpython-developers/GitPython>`_ to assure correctness. Knowing this should also allow you to more easily run the code for your own testing purposes. All you need is a developer installation of git-python.
1313

14+
15+
Trees & Blobs
16+
**************
17+
18+
Latest Commit Tree
19+
##################
20+
21+
..literalinclude::../../test/test_quick_doc.py
22+
:language: python
23+
:dedent: 8
24+
:start-after: # [12-test_cloned_repo_object]
25+
:end-before: # ![12-test_cloned_repo_object]
26+
27+
Any Commit Tree
28+
###############
29+
30+
..literalinclude::../../test/test_quick_doc.py
31+
:language: python
32+
:dedent: 8
33+
:start-after: # [13-test_cloned_repo_object]
34+
:end-before: # ![13-test_cloned_repo_object]
35+
36+
Display level 1 Contents
37+
########################
38+
39+
..literalinclude::../../test/test_quick_doc.py
40+
:language: python
41+
:dedent: 8
42+
:start-after: # [14-test_cloned_repo_object]
43+
:end-before: # ![14-test_cloned_repo_object]
44+
45+
Recurse through the Tree
46+
########################
47+
48+
..literalinclude::../../test/test_quick_doc.py
49+
:language: python
50+
:dedent: 8
51+
:start-after: # [15-test_cloned_repo_object]
52+
:end-before: # ![15-test_cloned_repo_object]
53+
54+
..literalinclude::../../test/test_quick_doc.py
55+
:language: python
56+
:dedent: 8
57+
:start-after: # [16-test_cloned_repo_object]
58+
:end-before: # ![16-test_cloned_repo_object]
59+
60+
61+
62+
63+
Printing text files
64+
####################
65+
66+
..literalinclude::../../test/test_quick_doc.py
67+
:language: python
68+
:dedent: 8
69+
:start-after: # [17-test_cloned_repo_object]
70+
:end-before: # ![17-test_cloned_repo_object]
71+
72+
..literalinclude::../../test/test_quick_doc.py
73+
:language: python
74+
:dedent: 8
75+
:start-after: # [18-test_cloned_repo_object]
76+
:end-before: # ![18-test_cloned_repo_object]
77+
78+
79+
80+
81+
1482
git.Repo
1583
********
1684

@@ -139,68 +207,3 @@ returns list of :class:`Commit <git.objects.commit.Commit>` objects
139207
:end-before: # ![11-test_cloned_repo_object]
140208

141209

142-
Trees & Blobs
143-
**************
144-
145-
Latest Commit Tree
146-
##################
147-
148-
..literalinclude::../../test/test_quick_doc.py
149-
:language: python
150-
:dedent: 8
151-
:start-after: # [12-test_cloned_repo_object]
152-
:end-before: # ![12-test_cloned_repo_object]
153-
154-
Any Commit Tree
155-
###############
156-
157-
..literalinclude::../../test/test_quick_doc.py
158-
:language: python
159-
:dedent: 8
160-
:start-after: # [13-test_cloned_repo_object]
161-
:end-before: # ![13-test_cloned_repo_object]
162-
163-
Display level 1 Contents
164-
########################
165-
166-
..literalinclude::../../test/test_quick_doc.py
167-
:language: python
168-
:dedent: 8
169-
:start-after: # [14-test_cloned_repo_object]
170-
:end-before: # ![14-test_cloned_repo_object]
171-
172-
Recurse through the Tree
173-
########################
174-
175-
..literalinclude::../../test/test_quick_doc.py
176-
:language: python
177-
:dedent: 8
178-
:start-after: # [15-test_cloned_repo_object]
179-
:end-before: # ![15-test_cloned_repo_object]
180-
181-
..literalinclude::../../test/test_quick_doc.py
182-
:language: python
183-
:dedent: 8
184-
:start-after: # [16-test_cloned_repo_object]
185-
:end-before: # ![16-test_cloned_repo_object]
186-
187-
188-
189-
190-
Printing text files
191-
####################
192-
193-
..literalinclude::../../test/test_quick_doc.py
194-
:language: python
195-
:dedent: 8
196-
:start-after: # [17-test_cloned_repo_object]
197-
:end-before: # ![17-test_cloned_repo_object]
198-
199-
..literalinclude::../../test/test_quick_doc.py
200-
:language: python
201-
:dedent: 8
202-
:start-after: # [18-test_cloned_repo_object]
203-
:end-before: # ![18-test_cloned_repo_object]
204-
205-
206-

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp