find_system


Description:

public static File find_system ()

Find the file representing the systems global git configuration.

This file is usually located at /etc/gitconfig on UNIX type systems or programfiles%\Git\etc\gitconfig on windows. This function will try to guess the full path to that file, if the file exists. The returned file may then be used with Config.from_file or add_file. This function returns null if the system config could not be found.

Returns:

a File or null if the system config could not be found.