Diff
Në shqip: Dallimet
ShpjegimiSQ
Diff-i tregon saktë çfarë ndryshoi mes dy versioneve: rreshtat e shtuar zakonisht me të gjelbër (+) dhe të hequrit me të kuq (−). E sheh me git diff dhe te çdo pull request në GitHub.
EnglishEN
A diff shows exactly what changed between two versions: added lines usually in green (+) and removed ones in red (−). You see it with git diff and in every pull request on GitHub.
Si ta mendosh
Si kur mësuesja ta kthen hartimin me korrigjime me laps të kuq: sheh menjëherë çfarë u hoq dhe çfarë u shtua.
Lexoje në anglisht
Like your teacher handing back your essay with red-pen corrections: you immediately see what was removed and what was added.
Shembull kodibash
git diff
# - <h1>Mirë se erdhe</h1>
# + <h1>Mirë se vini!</h1>