Last active
July 7, 2019 18:37
-
-
Save CarlosRA97/8251fac6a3f986c75d7cf75fc4e9efdd to your computer and use it in GitHub Desktop.
Git client for Docker RPI similar to Alpine Git
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
docker run -ti --rm -v $1:/git -v $HOME/.ssh:/root/.ssh carlosra97/raspberrypi3-alpine-git ${@:2} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Usage
./git.sh <docker_volume or directory> <git command>
Example:
./git.sh homeassistant-volume pull