Skip to content

Instantly share code, notes, and snippets.

@namutaka
namutaka / .gitignore
Created August 21, 2012 14:33 — forked from bergie/.gitignore
Node.js email handling examples
config.json
reading-image.png
#!/bin/bash
#
# git-svn-diff originally by (http://mojodna.net/2009/02/24/my-work-git-workflow.html)
# modified by [email protected]
# modified by aconway@[redacted] - handle diffs that introduce new files
#
# Generate an SVN-compatible diff against the tip of the tracking branch
# Get the tracking branch (if we're on a branch)
TRACKING_BRANCH=`git svn info | grep URL | sed -e 's/.*\/branches\///'`