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'
acter if a match fails due to parentJune McEnroe Really it should skip forward until the parent changes, but this is simpler. 2019-02-10Remove pattend from hiJune McEnroe 2019-02-10Replace uses of pattend with newline patternsJune McEnroe 2019-02-10Add hi debug outputJune McEnroe 2019-02-10Actually do HTML " escapingJune McEnroe 2019-02-10Set git commit.verboseJune McEnroe 2019-02-10Add back missing static keywordJune McEnroe