Skip to content

Instantly share code, notes, and snippets.

@polyakovin
Created February 8, 2019 14:14
Show Gist options
  • Save polyakovin/e6034aab8072f0da72170c35b99517d9 to your computer and use it in GitHub Desktop.
Save polyakovin/e6034aab8072f0da72170c35b99517d9 to your computer and use it in GitHub Desktop.
Shows file's diff (SVN) in your favorite text editor
#!/bin/bash
TEMP_FILE="$HOME/tempSVNDiff.git"
EDITOR=subl
svn diff $1 > $TEMP_FILE && $EDITOR $TEMP_FILE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment