Greetings, KARR, DAVID! > I'm now trying to connect to our new enterprise Github repositories. I > have created a PAT in Github. I've verified that it works by testing it with > some code using the github rest api. Until now, I haven't attempted a clone > from the new repositories or pushing to them. When I attempt the clone > using Cygwin git, it prompts me for a username and password, which I'm > unable to supply. If I instead do the clone using Windows Git, it just does > it. It's not clear to me whether it's even using the PAT under the covers. > I'm not sure how that works.
Username is your GitHub account name. Password is your private auth token. To make HTTP git connection (any HTTP git kind) easier, change remote address to https://<accountname>@host/path.git Then it will reuse your auth name and only ask you for a password. To make it EVEN easier, install GCM (it comes prepackaged with GfW). https://github.com/git-ecosystem/git-credential-manager/releases/latest Download, unpack to temp. directory, rename NOTICE to NOTICE.gcm.txt (recommended), then move the files to /usr/libexec/git-core/. Run git config --global credential.helper manager git config --global credential.modalPrompt true -- With best regards, Andrey Repin Monday, February 10, 2025 18:22:08 Sorry for my terrible english... -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple