Git branches made easy
open sourceMITself-hostablefree
Git Town adds Git commands that automate creating, syncing, shipping and cleaning up branches: hack creates an up-to-date feature branch, sync updates all branches and removes shipped ones, propose opens a PR. It supports stacked changes (append, prepend, set-parent) and works with Git Flow, GitHub Flow, GitLab Flow and trunk-based development.
Ways to install
Package managers
Problems it solves
- keeping all my feature branches up to date with main is a chore
- delete local branches that were already merged automatically
- create a new branch off the latest main in one command
- manage parent and child branches without a hosted tool
- sync every branch in a stack after main moves
- open a pull request for the current branch from the terminal
- insert a new branch between my branch and its parent
- standardize branch workflow across the team
Features
- hack/sync/propose/ship
- stacked changes
- branch cleanup
- multiple forges
Capabilities
| Has a command line tool | plan not known |
|---|
Alternatives
The same job
These do what Git Town does.
