Giter VIP home page Giter VIP logo

git-remote-codecommit's Introduction

git-remote-codecommit

A git-remote-helper that supports basic push and pull functionality when working with CodeCommit repositories using the AWS codecommit protocol. When installed the helper acts as a transparent proxy, converting the codecommit protocol into AWS V4 authenticated HTTPS requests. Removing the need for dedicated AWS HTTPS credentials.

Install

Binary downloads can be found on the Releases page. Unpack the git-remote-codecommit binary and add it to your PATH.

Homebrew

To use Homebrew:

brew tap gembaadvantage/tap
brew install gembaadvantage/tap/git-remote-codecommit

GoFish

To use Fish:

gofish rig add https://github.com/gembaadvantage/fish-food
gofish install github.com/gembaadvantage/fish-food/git-remote-codecommit

Scoop

To use Scoop:

scoop install git-remote-codecommit

Script

To install using a shell script:

curl https://raw.githubusercontent.com/gembaadvantage/git-remote-codecommit/main/scripts/install | sh

Quick Start

Clone the repository using your standard git syntax, but provide the clone URL using the codecommit protocol format of:

  • codecommit://repository
  • codecommit://profile@repository
  • codecommit::region://repository
  • codecommit::region://profile@repository
$ git clone codecommit::eu-west-1://repository

Cloning into 'repository'...
remote: Counting objects: 167, done.
Receiving objects: 100% (167/167), 96.07 KiB | 634.00 KiB/s, done.
Resolving deltas: 100% (31/31), done.

Both git pull and git push operations will behave as normal.

AWS Named Profile

Depending on your chosen authentication mechanism, you may need to provide an AWS named profile to authenticate with CodeCommit. To do this, prefix your repository name with profile@.

git clone codecommit::eu-west-1://profile@repository

git-remote-codecommit's People

Contributors

dependabot[bot] avatar ga-paul-t avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

git-remote-codecommit's Issues

Support all variations of the CodeCommit GRC protocol

CodeCommit GRC comes in two flavours:

  1. codecommit::<region>://<profile>@<repository>
  2. codecommit://<profile>@<repository>

Only 1. is currently supported. Extend existing functionality so both variants are supported

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.