git-shortcuts

Git shortcut commands.

Usage (Auto-Generated)

usage: gitcm commit message ...

"Git CoMmit, push, and get head revision." No quotes needed for commit message.

usage: gitcop [-f] [branch_name]

"Git CheckOut and Pull." Assumes remote is named origin. Optional -f flag fetches first.
If no branch_name is provided, then only a pull will occur.

usage: githead [repo_path]

Gets the commit hash of the HEAD of the current (or specified) repo path.