Skip to content

ezgh git

Hosted Git repositories, pull requests and checks.

Updated View as Markdown
ezgh git <command>

A repository is cloned and pushed over HTTPS with any Git client, at its clone URL (ezgh git repos get shows it), signing in with an API key (ezgh iam api-keys create; a login with ezgh login isn’t enough). Store the key in a profile of its own, so your login stays, and set up Git once:

ezgh --profile git auth set-api-key
git config --global credential.https://*.git.ezghcloud.com.helper '!ezgh --profile git git credential-helper'

Pull requests are opened from a branch of the same repository, reviewed and merged here, in the console or through the API. Branch rules (in the console) decide what a merge needs.

Everything is in a project (--project, EZGH_PROJECT or the profile’s). <repo> is a repository’s ID (gtr_…), UUID or name; <number> is a pull request’s number.

Flags

This command also takes the global flags.

Subcommands

Command Description
ezgh git checks Checks reported on commits
ezgh git credential-helper Give Git this profile’s credential for EZGH Git repositories
ezgh git prs Pull requests
ezgh git repos Repositories
Navigation

Type to search…

↑↓ navigate↵ selectEsc close