Git & GitHub

gitignore patterns

Në shqip: Modelet e .gitignore

ShpjegimiSQ

Te .gitignore: *.log injoron çdo .log, /build vetëm dosjen në rrënjë, build/ çdo dosje me atë emër, **/temp kudo, dhe !e-rendesishme.log e përjashton nga rregulli. Skedarët që janë tashmë në Git s'injorohen — duhet git rm --cached.

EnglishEN

In .gitignore: *.log ignores every .log, /build only the root folder, build/ any folder with that name, **/temp anywhere, and !important.log excludes it from the rule. Files already in Git aren't ignored — you need git rm --cached.

Si ta mendosh

Si rregullat e një filtri postar: çfarë kalon dhe çfarë jo.

Lexoje në anglisht

Like the rules of a mail filter: what goes through and what doesn't.

Shembull koditext

node_modules/
*.log
!e-rendesishme.log
/dist

Terma të lidhur