Skip to main content
Version: Weekly Build

cs git

Generated from CS CLI version v1.55.0.

Interacting with the git repository of the workspace

Synopsis​

Interact with the git repository of the workspace

Run git commands inside the workspace, like pulling or switching to a specific branch.

Options​

-h, --help help for git

Options inherited from parent commands​

-a, --api string URL of Codesphere API (can also be CS_API)
-g, --org string Organization ID (relevant for some commands)
-t, --team int Team ID (relevant for some commands, can also be CS_TEAM_ID) (default -1)
-v, --verbose Verbose output
-w, --workspace int Workspace ID (relevant for some commands, can also be CS_WORKSPACE_ID) (default -1)

SEE ALSO​

  • cs - The Codesphere CLI
  • cs git pull - Pull latest changes from git repository