feat(git): auth HTTP/HTTPS git clone via gh CLI and 1Password CLI

This commit is contained in:
2024-02-23 01:25:22 +00:00
parent 0b183f8acd
commit 1829517c54
2 changed files with 7 additions and 0 deletions

View File

@@ -24,6 +24,7 @@ brew 'efm-langserver'
brew 'fd'
brew 'ffmpeg'
brew 'geckodriver'
brew 'gh'
brew 'git'
brew 'git-crypt'
brew 'git-delta'

View File

@@ -70,3 +70,9 @@
defaultBranch = main
[gitlab]
user = jimeh
[credential "https://github.com"]
helper =
helper = !op plugin run -- gh auth git-credential
[credential "https://gist.github.com"]
helper =
helper = !op plugin run -- gh auth git-credential