> I have zero experience in patching files.
> I try to learn about that in the web.

Mastering the `patch' and `diff' programs is really essential IMHO :-)

> Now I took this code: [...]
>
> I made it to a file named "patch1glilypond" and apply the command:
>
> patch -p1 < /home/gregexp/Bureau/patch1glilypond
>
> I get just en error message: [...]

Play around with `-p0', `-p2', ...  Note that you should be in groff's
top-level directory while applying such patches so that all
subdirectories can be correctly found if necessary.

In case you are in a git repository, and the patch was incorrectly
applied (this is, only partially, possibly due to a wrong `-pX'
option), say

  git reset --hard

to clean up the git repository – of course, this assumes that you
don't have any local changes.  If you have, `git stash' stash is your
friend to preserve them.


    Werner

Reply via email to