gk workspace fetch
Perform a ‘git fetch’ command on repos in a workspace
Synopsis
Perform a ‘git fetch’ command on repos in a workspace. Flags following ‘–’ will be passed to the git command.
gk workspace fetch [flags]
Examples
# Perform a 'git fetch origin' command within every repo selected
$ gk workspace fetch origin
# Pass flags to the 'git fetch' command
$ gk workspace fetch -- --all
# Pass argument 'origin' and flag '--all' to the git command
$ gk workspace fetch origin -- --tags
# Pass flag '--all' to the 'gk workspace fetch' command to select every repo without being asked
$ gk workspace fetch --all origin -- --tags
Options
-a, --all Skip selection and fetch all repositories
-h, --help help for fetch
Options inherited from parent commands
-s, --select-ws Skip the default workspace for this action and force a workspace selection
SEE ALSO
- gk workspace - Interact with your workspaces. Alias: ‘ws’