simple shell script to compare two dirs recursively

Serpent7776 serpent7776 at gmail.com
Wed Nov 4 08:26:05 UTC 2020


On Mon, 2 Nov 2020 22:44:40 +0100
Per olof Ljungmark <peo at nethead.se> wrote:

> It is to keep track of a Wordpress plugin that we must do changes to in 
> the php code, I'm just trying to figure out a way to apply our changes 
> after the plugin is updated and our alterations are overwritten.
If you want to track changes why not using git?
Make two branches: upstream and dev.
upstream has code as provided by plugin developer, dev has your custom changes
on top of upstream.
Every time you add custom changes you do it on dev branch.
When you want to update, you checkout upstream, apply update and then rebase
dev onto new upstream.

-- 
/*
 * Serpent7776
 */


More information about the freebsd-questions mailing list