4 ms·
> (surely none of them use git+https!) well, yes github doesn't accept https push any more
by 1317 4y ago
> (surely none of them use git+https!)
well, yes
github doesn't accept https push any more
- akerl_ 4y agoNot sure what you mean. You can push via HTTPS: https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories https://docs.github.com/en/get-started/getting-started-with-... Maybe you’re referring to how they no longer accept passwords for HTTPS auth? You have to auth for HTTPS push with a personal access token.
- tracker1 4y agoThat's funny, I do it every day. It's frankly easier to install git credential manager (even integrate into WSL) for 2FA authentication on Github (and other git hosts). I get a bit paranoid when having to deal with Tokens on various CI/CD environments as it stands. And the things that start breaking every year when I forget to update them. Note: this is personal/hobby projects, not corporate stuff, where I'm strictly in the codebase and try to keep my fingers out of CI/CD beyond getting a Docker image built, and someone else configures the keys/auth.
- akerl_ 4y agoHow are you using git credential manager for 2fa on GitHub? They stopped supporting user/password auth for HTTPS git access a while back, and started requiring personal access tokens (which do not require a 2nd factor)
- tracker1 4y agoGCM will use an embedded browser so you can authenticate with the UI including your second factor, which will then give you a credential/token that can be used in the git environment over HTTPS. It's still a (differt, oath vs reference generation) token, but you aren't having to go generate, configure and update it yourself.