gitea-credentials/entrypoint.sh

5 lines
274 B
Bash
Executable File

#!/bin/sh -l
git config --global --add url.https://${argv[1]}:${argv[2]}@git.abackstrom.com/annika/.insteadOf git@git.abackstrom.com:annika/
git config --global --add url.https://${argv[1]}:${argv[2]}@git.abackstrom.com/annika/.insteadOf https://git.abackstrom.com/annika/