Commands
Run git town
for an overview of all Git Town commands and
git town help <command>
for help with individual commands. You can call each
Git Town command like git town <command>
. This user manual displays the
commands in the shorter form available after enabling aliases through the
setup assistant.
Basic workflow
Commands to create, work on, and ship features.
- git town hack - create a new feature branch
- git town sync - update the current branch with all ongoing changes
- git town switch - switch between branches visually
- git town propose - propose to ship a branch
- git town ship - deliver a completed feature branch
Additional workflow commands
Commands to deal with edge cases.
- git town delete - delete a feature branch
- git town rename - rename a branch
- git town repo - view the Git repository in the browser
Stacked changes
Commands to develop, review, and ship parts of a larger feature as multiple connected branches.
- git town append - create a new feature branch as a child of the current branch
- git town prepend - create a new feature branch between the current branch and its parent
- git town set-parent - change the parent of a feature branch
- git town diff-parent - display the changes made in a branch
Dealing with errors
Commands to deal with merge conflicts.
- git town continue - continue after you resolved the merge conflict
- git town skip - when syncing all branches, ignore the current branch and continue with the next one
- git town status - display available commands
- git town undo - undo the last completed Git Town command
Git Town installation
Commands that help install Git Town on your computer.
- git town completion - generate completion scripts for Bash, zsh, fish & PowerShell.
Git Town configuration
Commands that help adapt Git Town's behavior to your preferences.
- git town config - display or update your Git Town configuration
- git town config setup - setup assistant
- git town offline - enable/disable offline mode