#git #credentials #prompt #helper #disable #password #error

app git-credential-null

Git credential helper to disable git password prompts

2 stable releases

1.0.1 Sep 5, 2019

#545 in Authentication

Download history 1032/week @ 2024-07-23 1069/week @ 2024-07-30 861/week @ 2024-08-06 1110/week @ 2024-08-13 1100/week @ 2024-08-20 1717/week @ 2024-08-27 1350/week @ 2024-09-03 915/week @ 2024-09-10 1288/week @ 2024-09-17 1684/week @ 2024-09-24 1158/week @ 2024-10-01 834/week @ 2024-10-08 1106/week @ 2024-10-15 1087/week @ 2024-10-22 836/week @ 2024-10-29 713/week @ 2024-11-05

3,920 downloads per month

MIT license

7KB

git-credential-null

This git credential helper disables any known git password prompt, and it's meant to be used on automated programs that want to get an error instead of an hanged git prompt when a repository requires authentication.

This helper is released under the MIT license.

Usage

Install this Rust package with:

cargo install git-credential-null

Then pass -c credential.helper= -c credential.helper=null when you want to disable the prompt. For example:

git -c credential.helper= -c credential.helper=null clone https://github.com/ghost/doesnt-exist

No runtime deps