Skip to main content

save_git_config

Function save_git_config 

Source
pub fn save_git_config(config: &File<'_>) -> Result<()>
Expand description

Save an edited gix::config::File to its original location on disk.

Note that the resulting configuration changes are not persisted to the originating gix::Repository! The repository must be reloaded with the new configuration if necessary.