diff options
Diffstat (limited to 'doc/source/tutorial.rst')
-rw-r--r-- | doc/source/tutorial.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/source/tutorial.rst b/doc/source/tutorial.rst index c6e5626b..6ca0fd87 100644 --- a/doc/source/tutorial.rst +++ b/doc/source/tutorial.rst @@ -383,6 +383,12 @@ You can easily access configuration information for a remote by accessing option Change configuration for a specific remote only:: o.config_writer.set("pushurl", "other_url") + +You can also specify an SSH key to use for any operations on the remotes: + + private_key_file = project_dir+'id_rsa_deployment_key' + with repo.git.sshkey(private_key_file): + o.fetch() Submodule Handling |