Fix update
This commit is contained in:
parent
0613a0abce
commit
8786d9b208
|
@ -178,7 +178,7 @@ namespace repomgr {
|
||||||
var originMaster = repo.Branches["origin/master"];
|
var originMaster = repo.Branches["origin/master"];
|
||||||
repo.Reset(ResetMode.Hard, originMaster.Tip);
|
repo.Reset(ResetMode.Hard, originMaster.Tip);
|
||||||
repo.RemoveUntrackedFiles();
|
repo.RemoveUntrackedFiles();
|
||||||
Shell.Exec("git clean -xfd", Path.Combine(_pkgpath, package.Name));
|
Shell.Exec("git clean -xffd", Path.Combine(_pkgpath, package.Name));
|
||||||
}
|
}
|
||||||
|
|
||||||
public void ReadIndex() {
|
public void ReadIndex() {
|
||||||
|
@ -326,4 +326,4 @@ namespace repomgr {
|
||||||
return $"\x1b[90m{s}\x1b[39m";
|
return $"\x1b[90m{s}\x1b[39m";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue