Skip to content

Instantly share code, notes, and snippets.

@ancho85
Created August 23, 2019 19:38
Show Gist options
  • Save ancho85/ef45b725c3176cb727e144bde621320b to your computer and use it in GitHub Desktop.
Save ancho85/ef45b725c3176cb727e144bde621320b to your computer and use it in GitHub Desktop.
apply svn patch to git branch
#!/bin/bash -xv
(cd $1 && patch --binary --no-backup-if-mismatch -p0 ) < $2
# git diff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment