Permalink
Fetching contributors…
Cannot retrieve contributors at this time
29 lines (18 sloc) 604 Bytes

NAME

hack - create a new feature branch off the main development branch

SYNOPSIS

git town hack [-p] <branch_name>

DESCRIPTION

Syncs the main branch and forks a new feature branch with the given name off it.

If (and only if) new-branch-push-flag is true, pushes the new feature branch to the remote repository.

Finally, brings over all uncommitted changes to the new feature branch.

OPTIONS

<branch_name>
    The name of the branch to create.

-p
    Prompts for the parent branch (instead of assuming the main development branch)