.gitattributes & line endings
Në shqip: .gitattributes dhe fundet e rreshtave
ShpjegimiSQ
Windows përdor CRLF për fundin e rreshtit, Linux dhe macOS LF — dhe kjo krijon diff-e të çuditshme. .gitattributes (p.sh. * text=auto) dhe core.autocrlf e zgjidhin, duke i njësuar.
EnglishEN
Windows uses CRLF for line endings, Linux and macOS LF — which creates weird diffs. .gitattributes (e.g. * text=auto) and core.autocrlf fix it by normalising them.
Si ta mendosh
Si të biesh dakord për një format datash në gjithë ekipin.
Lexoje në anglisht
Like agreeing one date format across the whole team.
Shembull koditext
* text=auto
*.png binary