diff --git a/OpenOnGitHub/GitRepository.cs b/OpenOnGitHub/GitRepository.cs index cb4bbaf..aa1fc50 100644 --- a/OpenOnGitHub/GitRepository.cs +++ b/OpenOnGitHub/GitRepository.cs @@ -52,7 +52,7 @@ private void Initialize(string repositoryPath) _rootDirectory = _innerRepository.Info.WorkingDirectory; MainBranchName = _innerRepository.Branches.Select(x => x.FriendlyName) - .FirstOrDefault(x => new[] { "main", "master" }.Contains(x.ToLower())) ?? "main"; + .FirstOrDefault(x => new[] { "main", "master", "develop" }.Contains(x.ToLower())) ?? "main"; } public bool IsInsideRepositoryFolder(string filePath) @@ -110,4 +110,4 @@ public void Dispose() _innerRepository?.Dispose(); } } -} \ No newline at end of file +}