What Mojca wrote is what I do too. Simple but very effective! - MLD

On Wed, Aug 30, 2017, at 12:37 PM, Ken Cunningham wrote:
> >
> >    cd $(port work foo)
> >    cd foo-version
> >    sudo git init .
> >    sudo git add -A
> >    <make edits>
> >    git diff > /tmp/my-patches.diff
> >
> > And more or less make sure that you don't do "sudo port -v install"> > 
> > without, say the "-k" flag to keep the files before your run "git
> > diff".
> >
>
> This is what I'm talking about, yes.
>
> I notice you didn't make a branch and check it out --> just
> `git add -A`> and then diff it in the end. I didn't know you could do it like 
> that.>
> Thanks for the pointers. I'll give this a try!
>
> Ken
>

Reply via email to