diff options
Diffstat (limited to 'home/.local')
-rwxr-xr-x | home/.local/bin/git-password | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/home/.local/bin/git-password b/home/.local/bin/git-password new file mode 100755 index 00000000..41351e38 --- /dev/null +++ b/home/.local/bin/git-password @@ -0,0 +1,7 @@ +#!/bin/sh +set -eu + +url=$1 +echo "url=${url}" \ + | git credential fill \ + | sed -En 's/^password=(.*)/\1/p' |