GitKraken CLI

gk workspace push

Perform a ‘git push’ command on repos in a workspace

Synopsis

Perform a ‘git push’ command on repositories within a workspace. Use ‘–’ to separate ‘gk workspace push’ options from git-specific flags and arguments. Place all git-specific flags and arguments after ‘–’ to ensure the git command receives them.

gk workspace push [flags] -- [git-flags]

Examples

  # Perform a 'git push' command origin branchName' command within every repo selected
  $ gk workspace push origin branchName

  # Pass flags to the 'git push origin' command with '--'
  $ gk workspace push origin branchName -- --force --quiet

  # Pass flag '--all' to the 'gk workspace push' command in order to select every repo without being asked
  $ gk workspace push --all origin branchName -- --force --quiet

Options

  -a, --all    Skip selection and push all repositories
  -h, --help   help for push

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’
Auto generated by spf13/cobra on 28-Jun-2024

© 2023 Axosoft, LLC DBA GitKraken