Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 27852

Webmatrix 3 not working with Git

$
0
0

Hi,

I have just installed WebMatrix 3 on a new laptop and went to use Git.
WebMatrix then installed Git and created the local repo for my site, however upon initial commit, it asks for my name and email, after which it errors with

"

An error was raised by libgit2. Category = Os (Error).
The global file '.config/git/config' doesn't exist: The system cannot find the path specified.


LibGit2Sharp.LibGit2SharpException: An error was raised by libgit2. Category = Os (Error).
The global file '.config/git/config' doesn't exist: The system cannot find the path specified.

   at LibGit2Sharp.Core.Ensure.HandleError(Int32 result)
   at LibGit2Sharp.Core.Proxy.git_config_set_string(ConfigurationSafeHandle config, String name, String value)
   at LibGit2Sharp.Configuration.<>c__DisplayClass1`1.<GetUpdater>b__0(String key, Object val, ConfigurationSafeHandle handle)
   at LibGit2Sharp.Configuration.Set[T](String key, T value, ConfigurationLevel level)
   at GitSCCProvider.GitSettings.Save()
   at GitSCCProvider.GitSettingsViewModel.ApplySettings()
   at GitSCCProvider.GitSourceControlDialogs.ShowCheckinDialog(CheckinDialogStrings checkinDialogStrings)

"

At which point i created the folder structure and created and the empty config file.
After this WebMatrix errors with

"

An error was raised by libgit2. Category = Unknown (Error).
No error message has been provided by the native library

LibGit2Sharp.LibGit2SharpException: An error was raised by libgit2. Category = Unknown (Error).
No error message has been provided by the native library
   at LibGit2Sharp.Core.Ensure.HandleError(Int32 result)
   at LibGit2Sharp.Core.Proxy.git_config_set_string(ConfigurationSafeHandle config, String name, String value)
   at LibGit2Sharp.Configuration.<>c__DisplayClass1`1.<GetUpdater>b__0(String key, Object val, ConfigurationSafeHandle handle)
   at LibGit2Sharp.Configuration.Set[T](String key, T value, ConfigurationLevel level)
   at GitSCCProvider.GitSettings.Save()
   at GitSCCProvider.GitSettingsViewModel.ApplySettings()
   at GitSCCProvider.GitSourceControlDialogs.ShowCheckinDialog(CheckinDialogStrings checkinDialogStrings)

"

Does anyone have any idea what is going on?

Thank you


Viewing all articles
Browse latest Browse all 27852

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>