Skip to content

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

License

Notifications You must be signed in to change notification settings

awslabs/git-coco

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

git-coco

git-coco is a plugin for git that makes it easier to work with AWS 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 <repo>

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

  • git coco clone <repo>

Clones the named repository from codecommit and configures it correctly for use with the CodeCommit git credential helper.

  • git coco rm <repo>

Removes the named repository from CodeCommit.

  • git coco init <repo>

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 <from> <to>

Creates a pull request for the current repository that compares <from> (or the current branch if omitted) with <to> (or master if omitted).

  • git coco prlist <repo>

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

About

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

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages