From 8605d4adfa681db210ecf36e521e278fe9acf92c Mon Sep 17 00:00:00 2001 From: Tim Byrne Date: Sun, 27 Dec 2020 21:01:47 -0600 Subject: [PATCH] Add note about double login --- _docs/110_faq.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/_docs/110_faq.md b/_docs/110_faq.md index d8b3b52..53aabb4 100644 --- a/_docs/110_faq.md +++ b/_docs/110_faq.md @@ -45,6 +45,15 @@ yadm gitconfig "user.name" "Alternate Name" Note: Configuring these settings directly in the yadm repo will require you to configure it each time you clone the repo. +### Why was I prompted to login twice while cloning my repo? + +yadm needs to query your repo to determine the default branch used. When you are +using a private repository, this additional query also requires authentication. +You can avoid the double login by specifying which branch to clone using the +`-b` option. + + yadm clone -b + ### How can I display untracked files with a `yadm status` command? By default, yadm is configured to ignore untracked files when displaying a