Git & GitHub

Git config levels (system, global, local)

Në shqip: Nivelet e konfigurimit të Git-it

ShpjegimiSQ

Git-i lexon cilësimet në tre nivele: sistemi, --global (për ty, te ~/.gitconfig) dhe --local (vetëm për këtë repo). I fundit fiton. Kështu mund të kesh email pune në një repo dhe personal në të tjerat.

EnglishEN

Git reads settings at three levels: system, --global (for you, in ~/.gitconfig) and --local (just this repo). The most specific wins. That way you can use a work email in one repo and a personal one elsewhere.

Si ta mendosh

Si rregullat e shtetit, të qytetit dhe të shtëpisë — më e afërta fiton.

Lexoje në anglisht

Like national, town and house rules — the closest one wins.

Shembull kodibash

git config --global user.name "Arta Krasniqi"
git config --local user.email "arta@puna.al"

Terma të lidhur