Git Coco banner
awslabs awslabs

Git Coco

DevOps community

Description

git-coco is a plugin for git that provides a simplified way to interact with AWS CodeCommit

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

git-coco

git-coco is a plugin for git that makes it easier to work with [AWS CodeCommit](https://aws.amazon.com/codecommit/) repositories.

Usage

To use git-coco, just make sure it's in your path somewhere (either by copying it to somewhere like `/usr/local/bin` or adding the `git-coco` folder into your PATH variable).

The following commands are added to git:

  • git coco ls

List all CodeCommit repositories.

  • git coco create

Creates a new repository in CodeCommit and outputs the clone url.

  • git coco clone

Clones the named repository from codecommit and configures it correctly for use with the [CodeCommit git credential helper](https://docs.aws.amazon.com/cli/latest/reference/codecommit/credential-helper/index.html).

  • git coco rm

Removes the named repository from CodeCommit.

  • git coco init

Performs the equivalent of a `git coco create` followed by `git coco clone`. The result is a checked out copy of a new CodeCommit repository

  • git coco pr

Creates a pull request for the current repository that compares `` (or the current branch if omitted) with `` (or `master` if omitted).

  • git coco prlist

Lists all open pull requests for a specified repository. If repository is not specified, git-coco will search for a valid repository from `git remote -v`. Pull request information includes:

  • Pull Request ID
  • Pull Request Title
  • Pull Request Destination Branch
  • Pull Request Source Branch
  • Pull Request Author