Skip to content

Latest commit

 

History

History
80 lines (57 loc) · 2.48 KB

README.md

File metadata and controls

80 lines (57 loc) · 2.48 KB

Git

Git in Docker

License Docker Stars Docker Pulls Docker Automated Build Docker Build Status Build Status

Docker Hub Docker Store Dockerfile GitHub Homepage Feedback

Usage

Docker service is required.

Maybe you need Book for Docker.

Install

$ curl -sSL https://raw.githubusercontent.com/SameDocker/Git/master/install.sh | bash

Now you can use Git anywhere.

$ git init

Update

$ curl -sSL https://raw.githubusercontent.com/SameDocker/Git/master/update.sh | bash

Uninstall

$ curl -sSL https://raw.githubusercontent.com/SameDocker/Git/master/uninstall.sh | bash

Purge

$ curl -sSL https://raw.githubusercontent.com/SameDocker/Git/master/purge.sh | bash

Advanced Usage

$ docker run \
  --rm \
  --tty \
  --interactive \
  --name samedocker-git \
  --volume "$PWD":/working_directory \
  --volume "$HOME":/root \
  samedocker/git \
  init

See git.sh to get more information.

Contributor

Information