You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 2d83545
Browse filesBrowse the repository at this point in the historyBrowse files
docs: correct the editor transfer of test instructions
The first web-editor commit inserted the complete document into the existing text instead of replacing it. Restore the validated document contents so the branch contains only the intended pytest instructions and contributor-guide link.
The rendered preview now contains one copy of each section. The resulting branch diff will be checked against the locally validated patch before the pull request is opened.
Agent-Model: unknown
Copy file name to clipboardExpand all lines: doc/source/intro.rst
-117Lines changed: 0 additions & 117 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,19 +10,6 @@ It provides Python objects for repository data and delegates Git operations to t
10
10
11
11
The object database implementation is optimized for handling large quantities of objects and large datasets, which is achieved by using low-level structures and data streaming.
12
12
13
-
Requirements
14
-
============.. _intro_toplevel:
15
-
16
-
==================
17
-
Overview / Install
18
-
==================
19
-
20
-
GitPython is a python library used to interact with git repositories, high-level like git-porcelain, or low-level like git-plumbing.
21
-
22
-
It provides Python objects for repository data and delegates Git operations to the Git executable. The default backend supports both SHA-1 and SHA-256 object IDs and both files and reftable reference storage. ``GitDB`` is an alias for ``GitCmdObjectDB``; the pure-Python storage implementation is unavailable.
23
-
24
-
The object database implementation is optimized for handling large quantities of objects and large datasets, which is achieved by using low-level structures and data streaming.
25
-
26
13
Requirements
27
14
============
28
15
@@ -135,107 +122,3 @@ License Information
135
122
===================
136
123
GitPython is licensed under the New BSD License. See the LICENSE file for
Alternatively, you can install from the distribution using the ``setup.py``
172
-
script:
173
-
174
-
.. sourcecode:: none
175
-
176
-
# python setup.py install
177
-
178
-
.. note:: In this case, you have to manually install `GitDB`_ as well. It would be recommended to use the :ref:`git source repository <source-code-label>` in that case.
179
-
180
-
Limitations
181
-
===========
182
-
183
-
Leakage of System Resources
184
-
---------------------------
185
-
186
-
GitPython is not suited for long-running processes (like daemons) as it tends to
187
-
leak system resources. It was written in a time where destructors (as implemented
188
-
in the `__del__` method) still ran deterministically.
189
-
190
-
In case you still want to use it in such a context, you will want to search the
191
-
codebase for `__del__` implementations and call these yourself when you see fit.
192
-
193
-
Another way assure proper cleanup of resources is to factor out GitPython into a
194
-
separate process which can be dropped periodically.
195
-
196
-
Getting Started
197
-
===============
198
-
199
-
* :ref:`tutorial-label` - This tutorial provides a walk-through of some of
200
-
the basic functionality and concepts used in GitPython. It, however, is not
201
-
exhaustive so you are encouraged to spend some time in the
202
-
:ref:`api_reference_toplevel`.
203
-
204
-
API Reference
205
-
=============
206
-
207
-
An organized section of the GitPython API is at :ref:`api_reference_toplevel`.
208
-
209
-
.. _source-code-label:
210
-
211
-
Source Code
212
-
===========
213
-
214
-
GitPython's git repo is available on GitHub, which can be browsed at:
0 commit comments