diff --git a/LibGit2Sharp/Core/GitErrorCode.cs b/LibGit2Sharp/Core/GitErrorCode.cs
index 1698ad2f5..1ef7af7b0 100644
--- a/LibGit2Sharp/Core/GitErrorCode.cs
+++ b/LibGit2Sharp/Core/GitErrorCode.cs
@@ -106,6 +106,16 @@ internal enum GitErrorCode
///
Uncommitted = -22,
+ ///
+ /// The operation is not valid for a directory.
+ ///
+ Directory = -23,
+
+ ///
+ /// A merge conflict exists and cannot continue
+ ///
+ MergeConflict = -24,
+
///
/// Skip and passthrough the given ODB backend.
///