summary refs log tree commit diff
path: root/home/.local/bin/git-password
blob: 41351e38b05f59021a3e4c7e907d1df13ac6a062 (plain) (blame)
1
2
3
4
5
6
7
#!/bin/sh
set -eu

url=$1
echo "url=${url}" \
	| git credential fill \
	| sed -En 's/^password=(.*)/\1/p'