Skip to content

Instantly share code, notes, and snippets.

@jmatsu
Created August 25, 2015 17:10
Show Gist options
  • Save jmatsu/81d2d9e54120c1dd9943 to your computer and use it in GitHub Desktop.
Save jmatsu/81d2d9e54120c1dd9943 to your computer and use it in GitHub Desktop.
WIP
git::logger() {
:
if [ "$1" = "subtree" ]; then
if [ "$2" = "add" ]; then
# --: git subtree add --prefix=<prefix> <commit>
# or: git subtree add --prefix=<prefix> <repository> <ref>
# or: git subtree merge --prefix=<prefix> <commit>
# or: git subtree pull --prefix=<prefix> <repository> <ref>
# or: git subtree push --prefix=<prefix> <repository> <ref>
# or: git subtree split --prefix=<prefix> <commit...>
fi
fi
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment