You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using libgit2sharp to push an initial commit that includes a .github folder (with valid contents), the push fails silently — no error is thrown, and the remote is not updated. If the folder is renamed (e.g., to github), the push succeeds.
Steps to Reproduce
Create a new local repo
Add a .github/workflows/ci.yml file
Commit
Attempt to push to a GitHub remote (with or without authentication)
Observed Behavior
repo.Network.Push(...) does not throw
Remote is unchanged
If .github is renamed, push succeeds as expected
Expected Behavior
Push should either:
Succeed and update the remote, or
Throw an exception if push fails
Notes
Using latest LibGit2Sharp and .NET 6+
Changing .github to any other folder name works
Environment
LibGit2Sharp version: 0.31.0
OS: Windows
The text was updated successfully, but these errors were encountered:
Summary
When using
libgit2sharp
to push an initial commit that includes a.github
folder (with valid contents), the push fails silently — no error is thrown, and the remote is not updated. If the folder is renamed (e.g., togithub
), the push succeeds.Steps to Reproduce
.github/workflows/ci.yml
fileObserved Behavior
repo.Network.Push(...)
does not throw.github
is renamed, push succeeds as expectedExpected Behavior
Push should either:
Notes
LibGit2Sharp
and .NET 6+.github
to any other folder name worksEnvironment
The text was updated successfully, but these errors were encountered: