Skip to content

Instantly share code, notes, and snippets.

@pdelre
pdelre / git-essential-learing.md
Last active December 17, 2015 17:09
Git Essential Learning
@pdelre
pdelre / git-svn-diff.sh
Last active December 25, 2015 00:59 — forked from jgrgt/git-svn-diff.sh
#!/bin/sh
HASHES="$1"
REV=`git svn find-rev "$HASHES"`
INDEX_SEPARATOR="==================================================================="
# Note: removed the $* to support passing a hash as the first argument
git diff --no-prefix "$HASHES" |
sed "