Procházet zdrojové kódy

Document authentication with porcelain.clone

TuringTux před 2 roky
rodič
revize
7d7f7b6ee0
1 změnil soubory, kde provedl 4 přidání a 0 odebrání
  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
 --------------