Public | Automated Build

Last pushed: a year ago
Short Description
Smallest Docker image for git (alpine)
Full Description

Docker image for git

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.

Supported tags and respective Dockerfile links

Usage

$ docker run --rm -v /path/to/code:/code eeacms/git clone https://github.com/eea/eea.docker.git-scm.git .

Advanced usage

Add:

$ docker run --rm -v /path/to/code:/code -w /code eeacms/git add .

Commit:

$ docker run --rm -v /path/to/code:/code -w /code eeacms/git commit -m "Hello"

Push:

$ docker run --rm -v /path/to/code:/code -w /code eeacms/git push -u origin master

See git --help for more options:

$ docker run --rm eeacms/git --help
Docker Pull Command
Owner
eeacms
Source Repository

Comments (0)