-
Notifications
You must be signed in to change notification settings - Fork 652
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Cloning develop throws InvalidOperationException: Sequence contains no matching element #2378
Comments
Using |
Master is our main branch. We have a master branch on the server, but when a developer is working locally it only exists as Why should a developer be required to checkout In version used, I should have also specified that we are using GitVersionTask. |
Although it's not a big job normalizing the repository so a local |
I just stumbled upon the same problem, and I agree with OP that a dedicated error message would be very helpful. |
A pull request that manages to pinpoint where and when this exception occurs and write a custom error message instead would be merged instantaneously. |
Possibly related to #1671. |
🎉 This issue has been resolved in version 5.8.3 🎉 Your GitReleaseManager bot 📦🚀 |
Describe the bug
Using develop as our default branch led to GitVersion failing locally with an incomprehensible error.
Expected Behavior
Actual Behavior
Possible Fix
Add origin/master to regex for master.
Steps to Reproduce
See PR #2379 test GivenARemoteGitRepositoryWithCommitsThenClonedLocalDevelopShouldMatchRemoteVersion
Your Environment
The text was updated successfully, but these errors were encountered: