Git & GitHub

Patches (format-patch, apply)

Në shqip: Patch-et në Git

ShpjegimiSQ

Para GitHub-it, ndryshimet dërgoheshin me email si skedarë „patch“. git format-patch i krijon, git am ose git apply i zbatojnë. Kernel-i i Linux-it punon ende kështu.

EnglishEN

Before GitHub, changes were sent by email as “patch” files. git format-patch creates them, git am or git apply applies them. The Linux kernel still works this way.

Si ta mendosh

Si t'i dërgosh dikujt vetëm korrigjimet e një dokumenti me postë.

Lexoje në anglisht

Like posting someone just the corrections to a document.

Shembull kodibash

git format-patch -1 HEAD
git apply 0001-rregullo.patch

Terma të lidhur