Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 852 Bytes

prepend.md

File metadata and controls

29 lines (20 loc) · 852 Bytes

Prepend command

Creates a new feature branch as the parent of the current branch

Syncs the parent branch, cuts 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 new-branch-push-flag is true), and brings over all uncommitted changes to the new feature branch.

See sync for remote upstream options.

Usage

git town prepend <branch>

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