how to apply a svn patch git code example Example: how to apply a svn patch git $ patch -p0 < xxx_parser.patch $ git diff