diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2010-11-30 21:29:08 +0100 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2010-11-30 21:29:08 +0100 |
commit | 1053448ad885c633af9805a750d6187d19efaa6c (patch) | |
tree | 7682750b3812b2c96d5d8873c9d83251e417e1ff /doc/source/tutorial.rst | |
parent | 90b20e5cd9ba8b679a488efedb1eb1983e848acf (diff) | |
download | gitpython-1053448ad885c633af9805a750d6187d19efaa6c.tar.gz |
Renamed readme file to something github understands much better, adjusted documentation links to point to github instead of lighthouse/gitorious
Diffstat (limited to 'doc/source/tutorial.rst')
-rw-r--r-- | doc/source/tutorial.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/source/tutorial.rst b/doc/source/tutorial.rst index 642136ab..5530cedd 100644 --- a/doc/source/tutorial.rst +++ b/doc/source/tutorial.rst @@ -337,7 +337,7 @@ In the following brief example, you will learn about the very basics, assuming y >>> repo = Repo('path/to/git-python/repository') >>> sms = repo.submodules - [git.Submodule(name=gitdb, path=lib/git/ext/gitdb, url=git://gitorious.org/git-python/gitdb.git, branch=master)] + [git.Submodule(name=gitdb, path=lib/git/ext/gitdb, url=git://github.com/gitpython-developers/GitPython.git, branch=master)] >>> sm = sms[0] >>> sm.name 'gitdb' @@ -354,7 +354,7 @@ In the following brief example, you will learn about the very basics, assuming y >>> sm.config_reader().get_value('path') == sm.path # read its configuration conveniently True >>> sm.children() # query the submodule hierarchy - [git.Submodule(name=async, path=ext/async, url=git://gitorious.org/git-python/async.git, branch=master)] + [git.Submodule(name=async, path=ext/async, url=git://github.com/gitpython-developers/async.git, branch=master)] In addition to the query functionality, you can move the submodule's repository to a different path <``move(...)``>, write its configuration <``config_writer().set_value(...)``>, update its working tree <``update(...)``>, and remove and add them <``remove(...)``, ``add(...)``>. |