Skip to content

Instantly share code, notes, and snippets.

@miguelSantirso
Created April 8, 2014 15:21
Show Gist options
  • Save miguelSantirso/10141643 to your computer and use it in GitHub Desktop.
Save miguelSantirso/10141643 to your computer and use it in GitHub Desktop.
Custom Git mergetool that opens remote and local with the default app
#!/bin/sh
open $1 # Remote
# open $2 # Local
open $3 # Merged (same as local in most configs)
echo # New line
echo Compare, merge and save.
read -p "Finished (yes/cancel)? " -n 1 -r
echo # (optional) move to a new line
if [[ ! $REPLY =~ ^[Yy]$ ]]
then
exit 1
fi
exit 0
@miguelSantirso
Copy link
Author

Por ahora solo está probado en OSX y con archivos .fla

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment