
Implement push support via Remote.push which is called with a single refspec and raises GitError (with an appropriate message where possible) if the push fails. Note that local push to non-bare repository is currently not supported by libgit2.
20 lines
555 B
ReStructuredText
20 lines
555 B
ReStructuredText
**********************************************************************
|
|
Remotes
|
|
**********************************************************************
|
|
|
|
|
|
.. autoattribute:: pygit2.Repository.remotes
|
|
.. automethod:: pygit2.Repository.create_remote
|
|
|
|
|
|
The Remote type
|
|
====================
|
|
|
|
.. autoattribute:: pygit2.Remote.name
|
|
.. autoattribute:: pygit2.Remote.url
|
|
.. autoattribute:: pygit2.Remote.refspec_count
|
|
.. automethod:: pygit2.Remote.get_refspec
|
|
.. automethod:: pygit2.Remote.fetch
|
|
.. automethod:: pygit2.Remote.push
|
|
.. automethod:: pygit2.Remote.save
|