Re: github auth initial-setup.sh
I wonder why you will need your Github username and password given you are
cloning from a public repository (do you have private repos?).
If you need to access your repos using github username and password, you
need to use your personal access token ( a string which replaces your
password for 2Factor enabled accounts). Use this together with the username
when logging in on the terminal to clone a private repo. See more here
Your second email looks like a network problem. Something to do with
SSL...but restarting your network switch or router should solve that
problem. Or use a VPN or maybe check if Github is down(I doubt that).
Explore these and give feedback.
On Mon, Oct 29, 2018 at 5:06 AM James Dailey <jamespdailey@xxxxxxxxx> wrote:
> Ebenezer G - thanks for the script
> I'm trying to follow along and perhaps figure out what is a difficult step
> for other devs.
> I have forked to my github acct each of the fineract-cn repos as called on
> the line starting "get_modules fineract-cn-lang fineract-cn-api
> Using your script, I get an error on authentication. My github account
> uses 2-factor authentication, so I think that's the source of the error as
> it errors out on the first repo you start with in the
> get modules () function.
> > Cloning into 'fineract-cn-lang'...
> > remote: Invalid username or password.
> > fatal: Authentication failed for '
> > -bash: cd: fineract-cn-lang: No such file or directory
> It would be useful to be able to use your script to clone each of the core
> git repos locally.
> Any thoughts on how to use your script with two-factor auth enabled on
> github? Or bypass that?