Completely Alien Geek Speak
  • Blog
  • Archives
  • RSS

Creating a Diff Patch for Php

Feb 14th, 2008 | Comments

Generating the patch:

diff -urp revised_code.php orig_code.php > patch.diff

UPDATE: with svn it’s just:

svn diff > diff.patch

Applying the patch:

patch -p0 < patch.diff

Reference: Using diff to generate patches.

Technorati Tags: php diff patch

Posted by Jon Molesa Feb 14th, 2008 Personal, Programming, Technology, Web Programming, php

  • « Working Full Time
  • Blog Archives
  • Added some new ads to the rotation »
Gravatar image

About Me

A little something about me.

  • Recent Posts
  • This blog now hosted on...
  • Free, Flexible, Secure, and Redundant Command Line Blogging
  • Converting Wordpress posts to markdown
  • Thoughts on Password management
  • Loosing Teeth
  • GitHub Repos
  • Status updating...
@rjmolesa on GitHub
  • Latest Tweets
  • Status updating...
Follow @rjmolesa

Pictures

Family

Blog Roll

  • David Norman
  • Bryan Stalcup
  • Honey Bee Suite
  • Beekeeping
  • Wilkes County News
  • Amanda Molesa

On Delicious

My Delicious Bookmarks »

My Pinboard

    Fetching linkroll...

My Pinboard Bookmarks »


Copyright © 2013 - Jon Molesa - Powered by Octopress