git-credential-null

Crates.iogit-credential-null
lib.rsgit-credential-null
version1.0.1
sourcesrc
created_at2019-09-05 16:24:37.581123
updated_at2019-09-05 17:55:26.028465
descriptionGit credential helper to disable git password prompts.
homepage
repositoryhttps://github.com/pietroalbini/git-credential-null
max_upload_size
id162458
size23,241
Pietro Albini (pietroalbini)

documentation

https://github.com/pietroalbini/git-credential-null/blob/master/README.md

README

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
Commit count: 10

cargo fmt