S
S
Satellence2015-06-22 16:07:20
git
Satellence, 2015-06-22 16:07:20

How to fix "failed to refresh the working directory" error in GitHub client?

When I try to clone a project into a directory, I get the error "Failed to refresh the working directory"
Log:
System.ArgumentException: The path contains invalid characters.
at System.IO.Path.CheckInvalidPathChars(String path, Boolean checkAdditional)
at System.IO.Path.Combine(String path1, String path2)
at GitHub.Models.UncommittedFile..ctor(IRepositoryModel repository, String relativeFilePath, String changeType, String oldRelativePath)
in GitHub.Helpers.GitExtensions.<>c__DisplayClassd.b__c(Status x)
in System.Reactive.Linq.ObservableImpl.Select`2._.OnNext(TSource value)
I suspect that this is due to the entry of the computer user into the domain, i.e. git is installed in the user's user.domain folder. Previously, in the user folder, cloning to the same directory worked fine.
The question is how to overcome this error or how to install git in a different folder. You cannot leave the domain.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question