gt repo sync

Pull the trunk branch from remote and delete any branches that have been merged

Options

NameDescription
--pull, -pPull the trunk branch from remote
--delete, -dDelete branches which have been merged
--show-delete-progressShow progress through merged branches
--force, -fDon't prompt for confirmation before deleting a branch
--restack, -rRestack the current stack and any stacks with deleted branches