gk workspace pull
Perform a ‘git pull’ command on repos in a workspace
Synopsis
Perform a ‘git pull’ command on repositories within a workspace. Use ‘–’ to separate ‘gk workspace pull’ options from git-specific flags and arguments. Place all git-specific flags and arguments after ‘–’ to ensure the git command receives them.
gk workspace pull [flags] -- [git-flags]
Examples
# Perform a 'git pull' command within every repo selected
$ gk workspace pull origin branchName
# Pass flags to the 'git pull' command
$ gk workspace pull origin branchName -- --force --no-edit --all
# Pass flag '--all' to the 'gk workspace pull' command in order to select every repo without being asked
$ gk workspace pull --all origin branchName -- --force --no-edit --all
Options
-a, --all Skip selection and pull all repositories
-h, --help help for pull
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’