Skip to main content

git-remote-cvm

This package provides a simple method for pushing and pulling from AWS CodeCommit using the CVM. This package extends git to support repository URLs prefixed with cvm://.

… you can clone repositories as simply as…

% git clone cvm://role-name@account-name/repository-name

The git-remote-cvm package works on Python versions:

  • 3.6.x and greater

  • 3.7.x and greater

Prerequisites

Before you can use git-remote-cvm, you must:

  • Complete initial configuration for AWS CodeCommit, including:

    • Install and configure the CVM

  • Create an AWS CodeCommit repository (or have one already) in your AWS account.

  • Install Python and its package manager, pip, if they are not already installed. To download and install the latest version of Python, visit the Python website.

  • Install Git on your Linux, macOS, Windows, or Unix computer.

  • Install the latest version of the AWS CLI on your Linux, macOS, Windows, or Unix computer. You can find instructions here.

Note: Installation of the AWS CLI on some operating systems requires pip version 9.0.3 or later. To check your version of pip, open a terminal and type the following command:

% pip --version

If the version is not 9.0.3 or later, run the following commands to update your version of pip:

% curl -O https://bootstrap.pypa.io/get-pip.py
% python3 get-pip.py --user

Set Up

Step 1: Install git-remote-cvm

  • On your Linux, macOS, Windows, or Unix computer, install git-remote-cvm using the pip command. For example:

% pip3 install git-remote-cvm
  • If you already have git-remote-cvm installed you can upgrade to the latest version with the –upgrade parameter:

% pip3 install --upgrade git-remote-cvm

Step 4: Clone your repository

  • At the terminal, run the git clone cvm command, using the details of your repository. For example:

% git clone cvm://power-user-role@dev-account/web-project-1
Cloning into 'web-project-1'...
remote: Counting objects: 1753, done.
Receiving objects: 100% (1753/1753), 351.77 KiB | 1.91 MiB/s, done.
Resolving deltas: 100% (986/986), done.

Release files for git-remote-cvm 1.15

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for git-remote-cvm 1.15
File Size Uploaded
git-remote-cvm-1.15.tar.gz 4.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for git-remote-cvm 1.15
File Interpreter ABI Platform
git_remote_cvm-1.15-py3-none-any.whl Python 3 none any Details

Total release size: 12.0 kB

Release files / git-remote-cvm-1.15.tar.gz

Download URL git-remote-cvm-1.15.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
5a66ce9ccf82de582d28b7441af55db99e51cc120f83dd2169eadc9a7e600e35
BLAKE2b-256 checksum
How to use checksums
e9b1a591e48b58e05592f0592d20c765b6ea34f787aeea8de458e00d78b6ed9e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.9

Release files / git_remote_cvm-1.15-py3-none-any.whl

Download URL git_remote_cvm-1.15-py3-none-any.whl
Size 7.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1dae48936992c9cb62615dea9275e7afa93675b55c141a25577fe90e8dee83a3
BLAKE2b-256 checksum
How to use checksums
53d7daab163c6228e3b6ed98c6eab92eba5890929cc02c4a23c50da99fedc79c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.9

Release history Release notifications | RSS feed

This release

1.15 This release

2 release files

1.14

1 release file

1.13

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page