How can I clone a private repo in the install step

david's Avatar

david

22 Feb, 2020 06:33 PM

I am able to clone a repo using a GitHub personal token, but I am wondering if I can do it somehow using the same GitHUb creds that are used for the top-level projects?

Thanks.

  1. Support Staff 1 Posted by Feodor Fitsner on 23 Feb, 2020 04:34 AM

    Feodor Fitsner's Avatar

    Hi David,

    You mean cloning the repo with your GitHub username/password?

  2. 2 Posted by david on 25 Feb, 2020 09:22 PM

    david's Avatar

    I am able to clone with https://<user>:<personal token>@...
    but it would be nice to just clone with the same credentials that are already configured and ssh. Not sure why it's not working out of the box. Thanks.

  3. Support Staff 3 Posted by Feodor Fitsner on 25 Feb, 2020 09:25 PM

    Feodor Fitsner's Avatar

    $HOME\.ssh\id_rsa is only written if project repository is configured to clone via SSH. Otherwise, you may want to look at this article: https://www.appveyor.com/docs/how-to/private-git-sub-modules/

  4. Feodor Fitsner closed this discussion on 27 Apr, 2020 09:02 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

 

03 Oct, 2024 07:07 PM
01 Oct, 2024 05:06 PM
01 Oct, 2024 04:27 PM
26 Sep, 2024 03:49 PM
26 Sep, 2024 09:02 AM
25 Sep, 2024 07:07 PM