GitCommands.GitModule.GetRemotes C# (CSharp) Method

GetRemotes() public method

public GetRemotes ( bool allowEmpty = true ) : string[]
allowEmpty bool
return string[]
        public string[] GetRemotes(bool allowEmpty = true)
        {
            string remotes = RunGitCmd("remote show");
            return allowEmpty ? remotes.Split('\n') : remotes.Split(new char[] { '\n' }, StringSplitOptions.RemoveEmptyEntries);
        }
GitModule