10
310
Fork
You've already forked codeberg-cli
33

Add support for git-credential helper protocol #114

Open
opened 2023年11月09日 17:12:21 +01:00 by chriskrycho · 1 comment

With gh you can configure the git credential protocol for GitHub to use gh auth git-credential. This makes it so that you can use a token-based authentication, and that further allows things like integration with 1Password’s CLI (and, presumably other such tools for managing credentials), so you can use hardware keys etc. to manage interactions that way. It would be great if berg did the same!

(Excellent tool; thanks for the work on it!)

With `gh` you can configure [the git credential protocol](https://git-scm.com/docs/gitcredentials) for GitHub to use `gh auth git-credential`. This makes it so that you can use a token-based authentication, and that further allows things like integration with 1Password’s CLI (and, presumably other such tools for managing credentials), so you can use hardware keys etc. to manage interactions that way. It would be great if `berg` did the same! (Excellent tool; thanks for the work on it!)

+1 for this feature !!

Tip

in the meantime, i have written the following Git credential helper

+1 for this feature !! > [!tip] > in the meantime, i have written the following Git credential helper > - [`berg-git-credential.nu`](https://codeberg.org/astevan/dotfiles/src/commit/53711c272c993b94a01b54d1900514210dea8140/opt/bin/berg-git-credential.nu) > - the [Git config](https://codeberg.org/astevan/dotfiles/src/commit/53711c272c993b94a01b54d1900514210dea8140/.gitconfig#L11-L12) > - implemented in https://codeberg.org/astevan/dotfiles/commit/53711c272c993b94a01b54d1900514210dea8140
Sign in to join this conversation.
No Branch/Tag specified
main
v0.5.1
v0.5.0
v0.4.11
v0.4.10
v0.4.9
v0.4.8
v0.4.7
v0.4.6
v0.4.5
v0.4.4
v0.4.3
v0.4.1
v0.4.2
v0.4.0
v0.3.5
v0.3.4
v0.3.2
v0.3.1
v0.3.0
v0.2.1
v0.2.0
v0.1.1
v0.1.0
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Aviac/codeberg-cli#114
Reference in a new issue
Aviac/codeberg-cli
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?