Skip to main content

get_git_config

Function get_git_config 

Source
pub fn get_git_config(key: &str) -> Option<String>
Expand description

Get a git config value by key.

Returns Some(value) if the config key exists and has a non-empty value, None otherwise.