I am trying to use IsClean() to determine if the remote repository has changed or not but when I try to use IsClean() it always return true when I change the remote repo (when I change file in local repo it returns false, that means it works for this case). Is there any problem with this particular function or am I missing something.
var repository = Git.Open(C:\git);
while (repository.Status().Call().IsClean())
{
repository.Pull().Call(); // this function change the repo status
Console.WriteLine("Is clean");
}
I am trying to use IsClean() to determine if the remote repository has changed or not but when I try to use IsClean() it always return true when I change the remote repo (when I change file in local repo it returns false, that means it works for this case). Is there any problem with this particular function or am I missing something.