git

Versions: [latest]

git

Download        : docker pull ghcr.io/autamus/git
Compressed Size : 300MB

Description

Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.

Usage

Pull (Download)

To download the latest version of git run,

docker pull ghcr.io/autamus/git:latest

or to download a specific version of git run,

docker pull ghcr.io/autamus/git:latest

Run

To run the container as an application run,

docker run --rm ghcr.io/autamus/git git --version

or to run the container in an interactive session run,

docker run -it --rm ghcr.io/autamus/git bash

Mounting volumes between the container and your machine

To access files from your machine within the git container you’ll have to mount them using the -v external/path:internal/path option.

For example,

docker run -v ~/Documents/Data:/Data ghcr.io/autamus/git git /Data/myData.csv

which will mount the ~/Documents/Data directory on your computer to the /Data directory within the container.

HPC

If you’re looking to use this container in an HPC environment we recommend using Singularity-HPC to use the container just as any other module on the cluster. Check out the SHPC git container here.