A git extension for seeing your Cloud Build deployment

Learn more:


  • Python 3.7+ (check with python3 --version)
  • git 1.8+ (check with git --version)
  • A GitHub repo connected to Cloud Build with source-based deployments


  • Clone this repo
  • Set the execution bit
  • Copy git-deploy into a place on your PATH.
    # example location
    cp git-deploy /usr/local/bin
  • Confirm installation by running the script:
    cd ~ # a non-git repo
    git deploy
    • Success: fatal: not a git repository (or any of the parent directories): .git
      • The new git extension has been successfully added, but you are not in a git repo, so no action was taken.
    • Error: git: 'deploy' is not a git command. See 'git --help'.
      • The extension is not available. Check your PATH.


  • git deploy: git push, and echo build logs

  • git deploy retry: manually trigger build, and echo build logs


See for details.


Apache 2.0; see for details.


This project is not an official Google project.


Leave a Reply

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

GIPHY App Key not set. Please check settings

Quora Vs Medium: Which Has Better Future

Private vs. Public Blockchains For Enterprise Business Solutions