Skip to content
Snippets Groups Projects
Commit 817bb1e5 authored by jurgenhaas's avatar jurgenhaas
Browse files

#6 Forward global git config into the container

parent 71159f66
No related branches found
No related tags found
No related merge requests found
......@@ -40,6 +40,17 @@ When starting **L3D** with the script this will simply re-use the latest availab
Just call `l3d selfupdate` and the start script will be updated from the original repository.
## Working with Git credentials
In order to commit and push with git you have to at least configure your email address and username for the git client. If you configure those globally on your host, each of the **L3D** containers will inherit those settings and there is nothing that needs to be done inside the container.
To configure those credentials, use these commands:
```bash
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
```
## Getting help
Calling `l3d help` displays information about **L3D** and provides a link to further details.
......
......@@ -4,7 +4,7 @@ if [[ "$1" == "help" ]]; then
echo "L3D - LakeDropsDrupalDev"
echo "========================="
echo ""
echo "Version: 1.2.0"
echo "Version: 1.3.0"
echo "Info and support: https://gitlab.lakedrops.com/docker/l3d"
exit 0
fi
......@@ -75,6 +75,7 @@ else
--volume ${PWD}:/drupal \
--volume ${SSH_AUTH_SOCK}:/ssh-agent \
--volume ${HOME}/.traefik:/root/.traefik \
--volume ${HOME}/.gitconfig:/root/.gitconfig \
--workdir /drupal \
--restart unless-stopped \
registry.lakedrops.com/docker/l3d:php-${PHP_VERSION}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment