git grep & git log -S
Në shqip përdoret i njëjti emër.
ShpjegimiSQ
git grep "fjala" kërkon shpejt në të gjithë skedarët e repo-s. git log -S "fjala" gjen commit-in ku u shtua ose u fshi ajo fjalë — shumë i dobishëm për të kuptuar kur dhe pse ndryshoi diçka.
EnglishEN
git grep "word" searches all the repo's files fast. git log -S "word" finds the commit where that word was added or removed — very useful for understanding when and why something changed.
Si ta mendosh
Si një detektiv që gjen në arkiv ditën kur u shkrua një fjali.
Lexoje në anglisht
Like a detective finding in the archive the day a sentence was written.
Shembull kodibash
git grep "llogaritMesataren"
git log -S "API_URL" --oneline