Permalink
Fetching contributors…
Cannot retrieve contributors at this time
31 lines (21 sloc) 755 Bytes

NAME

prepend - create a new feature branch between the current branch and its parent

SYNOPSIS

git town prepend <branch_name>

DESCRIPTION

Syncs the parent branch, forks a new feature branch with the given name off the parent branch, makes the new branch the parent of the current branch, pushes the new feature branch to the remote repository if and only if new-branch-push-flag is true, and brings over all uncommitted changes to the new feature branch.

OPTIONS

<branch_name>
    The name of the branch to create.

SEE ALSO

  • git append to create a new feature branch as a child of the current branch
  • git hack to create a new top-level feature branch