For those running into problems, with 1.18. This is a work-around:
On the machine producing the error, execute this (copy-paste safe):
sudo mv /usr/bin/git /usr/bin/git.unpatched echo -e '#!/bin/bash\nGIT_BIN=/usr/bin/git.unpatched\nif [ "clone" == "$1" ]; then\n'\ '\t"$GIT_BIN" clone --config user.email=juju@localhost --config user.name=juju "${@:2}"\n'\ 'else\n\t"$GIT_BIN" "$@"\nfi'\ | sudo tee /usr/bin/git > /dev/null sudo chmod +x /usr/bin/git
For those running into problems, with 1.18. This is a work-around:
On the machine producing the error, execute this (copy-paste safe):
sudo mv /usr/bin/git /usr/bin/ git.unpatched bash\nGIT_ BIN=/usr/ bin/git. unpatched\ nif [ "clone" == "$1" ]; then\n'\ juju@localhost --config user.name=juju "${@:2}"\n'\
echo -e '#!/bin/
'\t"$GIT_BIN" clone --config user.email=
'else\n\t"$GIT_BIN" "$@"\nfi'\
| sudo tee /usr/bin/git > /dev/null
sudo chmod +x /usr/bin/git