DEV Community

Discussion on: 10+ things I always setup in git when I prepare a new environment

Collapse
 
nstvnsn profile image
Nathan Stevenson • Edited

I use git push from the CLI all the time. I think you may have read that where it talks about setting up ssh keys.

If you are using your IDE or the Desktop UI for git, you are likely signed in to your github account through them. No issues.

With CLI, you need to set up SSH for authenticating your pushes from the CLI:

docs.github.com/en/authentication/...

Collapse
 
piyushnags profile image
Piyush

Thank you, after switching to SSH it works just fine

Thread Thread
 
nstvnsn profile image
Nathan Stevenson

No problem! Glad you got it working.