Browse Source

Document authentication with porcelain.clone

TuringTux 2 years ago
parent
commit
7d7f7b6ee0
1 changed files with 4 additions and 0 deletions
  1. 4 0
      docs/tutorial/porcelain.txt

+ 4 - 0
docs/tutorial/porcelain.txt

@@ -24,6 +24,10 @@ Clone a repository
 ------------------
 
   >>> porcelain.clone("git://github.com/jelmer/dulwich", "dulwich-clone")
+  
+Authentication works using the ``username`` and ``password`` parameters:
+
+  >>> porcelain.clone("https://example.com/a-private-repo.git", "a-private-repo-clone", username="user", password="password")
 
 Commit changes
 --------------