DEV Community

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

 
jasperhorn profile image
JasperHorn • Edited

git push, from the command line, to GitHub, over https does work. It's just that you don't use your password to login. Instead, you use a token, which you first need to generate in your settings somewhere.

Thread Thread
 
snaka profile image
Shinji NAKAMATSU • Edited

Thank you for the additional information.
As you mentioned, it is possible to push via HTTPS with the git command by using a Personal access token (PAT).

Here is a link to the GitHub documentation for reference.

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