csph git connections list
list the account's git connections
🔗 List the account's git connections and the repositories each one can clone.
A git connection is how ComputeSphere signs in to GitHub, GitLab or Bitbucket to clone a service's code. Each row shows the connection's id, its provider, the provider account or organization it signs in as, its status, and how many services build from it.
--repos also lists the repositories each connection can clone (one call to
the provider per connection). Pass a connection's id to
csph deployments update --git-connection-id, or leave that flag out and
csph picks the one connection that can clone the --git-url repository.
Connect a new provider account in the console: Settings, Accounts, your account, Connections.
Usage​
csph git connections list [flags]
Aliases​
git connections list, git connections ls, git connection list, git connection ls, git conn list, git conn ls
Options​
Command Specific​
Formatting​
For more information about formatting options, see Formatting.
Inherited​
Examples​
# the account's git connections
> csph git connections list
# with the repositories each can clone
> csph git connections list --repos
# the repositories one connection can clone, narrowed by name
> csph git connections repos <connection-id> --search api
# which connection can clone a repository?
> csph git connections list --repos -o json --jq '[.[] | select(.repositories | index("my-org/my-api")) | .id]'
See also​
- csph git connections — list the account's git connections
- csph git connections repos — list the repositories a git connection can clone