Those of you who have 2FA enabled in GitHub, is it really that every time we do a push we have to go to our password manager (or wherever else you keep that thing saved), copy personal access token and paste it in the terminal? Is there a more practical way to authenticate on the CLI?

Follow

@areppo you can use SSH keys to authenticate. Add your keys in the security settings, and then checkout with git@github.com:user/repo.git

@ksunden thank you! I didn’t know about this. I’ll check it out.

Sign in to participate in the conversation
LinuxRocks.Online

Linux geeks doing what Linux geeks do...