Skip to content

gtl update

Fetch remote updates and pull the latest changes for the current branch.

Aliases

up

Usage

bash
gtl update [flags]

Full Help

text
Fetch remote updates and pull the latest changes for the current branch.

Usage:
  gtl update [flags]

Aliases:
  update, up

Flags:
  -b, --branch string   Branch to pull from (defaults to tracking branch, then remote default branch, then current branch)
  -h, --help            help for update
      --prune           Prune deleted remote refs during fetch (default true)
  -r, --remote string   Remote to pull from (defaults to upstream when present, otherwise upstream tracking remote or origin)

Released under the MIT License.