commit (to clobber)
This commit is contained in:
parent
bd1731aae8
commit
16a05c60a0
|
@ -3,7 +3,10 @@
|
|||
name = stupidcomputer
|
||||
|
||||
[credential "https://git.beepboop.systems"]
|
||||
username = stupidcomputer
|
||||
helper = !git-rbw-wrap "beepboop.systems gitea instance"
|
||||
|
||||
[credential "https://github.com"]
|
||||
helper = !git-rbw-wrap "github-pat"
|
||||
|
||||
[advice]
|
||||
addIgnoredFile = false
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
#!/bin/sh
|
||||
|
||||
[ -z "$1" ] && exit 1
|
||||
|
||||
# wrap rbw get $1 --full to output in the git credential helper
|
||||
# format
|
||||
|
||||
# username=yourusername
|
||||
# password=yourpassword
|
||||
|
||||
output=$(rbw get $1 --full)
|
||||
echo "$output" | sed '1{s/^/password=/}' | sed 's/Username: /username=/g' | tac
|
Loading…
Reference in New Issue