Automation for some common Git workflows
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
lib/hack
README.md
hack.gemspec

README.md

Hack

Overview

The basic purpose is to provide some simple automations based upon common Git workflows

Credits

Usage

$ hack on [branch]

Switch branches. If no branch is provided it will default to 'master'. If the provided branch does not exist, it is created.

$ hack sync

Rebases with the master.

$ hack push

Merge and pushes to your remote repository.

$ hack sp

Shortcut for (s)ync and (p)ush.

$ hack stp [test commands]

Run your test suite between the sync and push operations. If no test commands are passed it will default to 'rake'