EEA & Eionet documentation hub

Browse documentation for IT-systems used by the European Environment Agency and the Eionet network.

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.

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