Skip to content

Instantly share code, notes, and snippets.

@dpwright
Created May 11, 2012 03:33
Show Gist options
  • Save dpwright/2657356 to your computer and use it in GitHub Desktop.
Save dpwright/2657356 to your computer and use it in GitHub Desktop.
Git merge driver which always accepts their version of a file
# I want to keep THEIR version when there is a conflict
# Copy their version over ours and report success
cp -f $3 $2
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment