pallets / jinja

A very fast and expressive template engine.
https://jinja.palletsprojects.com
BSD 3-Clause "New" or "Revised" License
10.23k stars 1.6k forks source link

Change github link to ssh in "contributing" docs #1916

Closed ratchek closed 8 months ago

ratchek commented 8 months ago

Github no longer allows for pushing through https. "Contributing" documentation should reflect that.

Right now, the documentation reads: $ git remote add fork https://github.com/{username}/jinja Instead should be $ git remote add fork git@github.com:{username}/jinja.git

Environment:

davidism commented 8 months ago

I don't see any reference to this change. Where is this documented?

ratchek commented 8 months ago

I guess I meant the change to token authentication. https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/

I feel like most new users will be authenticating with ssh.

ThiefMaster commented 8 months ago

While I personally think SSH is far superior for Git operations than HTTPS, I think this blog post has nothing to do with what you suggest... it's more about them ditching legacy username/password authentication for performing git operations over HTTPS, which makes perfect sense considering there's 2FA.

I'm not sure what the default on GitHub is, but it might very well be HTTPS (with a token).