Using diff & patch

Use diff to create patches,

diff -Naur

to ignore .git and alike hidden folders from the diff,

diff -rupN -x '.*' ./original ./new > original.patch

Ref. http://www.mugginsoft.com/content/diff-ignoring-hidden-files


HOME | GUIDES | LECTURES | LAB | SMTP HEALTH | HTML5 | CONTACT
Copyright © 2024 Pierre-Philipp Braun