Git & GitHub

SSH vs HTTPS remotes

Në shqip: SSH apo HTTPS për GitHub?

ShpjegimiSQ

Mund të lidhesh me GitHub përmes HTTPS (me token ose gh auth) ose SSH (me çelës SSH, git@github.com:…). SSH s'kërkon hyrje çdo herë pasi konfigurohet. git remote set-url ndërron mënyrën.

EnglishEN

You can connect to GitHub over HTTPS (with a token or gh auth) or SSH (with an SSH key, git@github.com:…). SSH needs no login each time once set up. git remote set-url switches between them.

Si ta mendosh

Si dy rrugë për në të njëjtën shtëpi: njëra me çelës, tjetra me kod.

Lexoje në anglisht

Like two routes to the same house: one with a key, one with a code.

Shembull kodibash

git remote set-url origin git@github.com:arta/projekti.git

Terma të lidhur