Skip to content

Instantly share code, notes, and snippets.

@boredzo
Created July 4, 2015 18:07
Show Gist options
  • Select an option

  • Save boredzo/37e8309a9da7e03e74c4 to your computer and use it in GitHub Desktop.

Select an option

Save boredzo/37e8309a9da7e03e74c4 to your computer and use it in GitHub Desktop.
git helpers
#!/bin/zsh -f
exec git merge --ff-only $*
#!/bin/zsh -f
GIT_ROOT="$(git -C ${1:-.} rev-parse --show-toplevel)"
exec open -a SourceTree "$GIT_ROOT"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment