GitCommands.GitModule.GetSelectedBranch C# (CSharp) Method

GetSelectedBranch() public method

Gets the current branch; or "(no branch)" if HEAD is detached.
public GetSelectedBranch ( ) : string
return string
        public string GetSelectedBranch()
        {
            return GetSelectedBranch(_workingDir);
        }

Same methods

GitModule::GetSelectedBranch ( string repositoryPath ) : string
GitModule