We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f959d12 + 1fde9f9 commit a6f3c05Copy full SHA for a6f3c05
OpenOnGitHub/GitRepository.cs
@@ -52,7 +52,7 @@ private void Initialize(string repositoryPath)
52
_rootDirectory = _innerRepository.Info.WorkingDirectory;
53
54
MainBranchName = _innerRepository.Branches.Select(x => x.FriendlyName)
55
- .FirstOrDefault(x => new[] { "main", "master" }.Contains(x.ToLower())) ?? "main";
+ .FirstOrDefault(x => new[] { "main", "master", "develop" }.Contains(x.ToLower())) ?? "main";
56
}
57
58
public bool IsInsideRepositoryFolder(string filePath)
@@ -110,4 +110,4 @@ public void Dispose()
110
_innerRepository?.Dispose();
111
112
113
-}
+}
0 commit comments