GitCommands.GitModule.GetRemotes C# (CSharp) 메소드

GetRemotes() 공개 메소드

public GetRemotes ( bool allowEmpty = true ) : string[]
allowEmpty bool
리턴 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