gitea-credentials/entrypoint.sh

5 lines
274 B
Bash
Raw Normal View History

2024-03-31 22:44:57 +00:00
#!/bin/sh -l
2024-03-31 23:04:01 +00:00
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/