From 83ddd04381d21b5e6c5a50739fdcea5fefa11cda Mon Sep 17 00:00:00 2001 From: Laura Hausmann Date: Fri, 16 Oct 2020 11:28:17 +0200 Subject: [PATCH] fix non-removal of gitignored files --- RepoMgr.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/RepoMgr.cs b/RepoMgr.cs index 7b165bc..922928f 100644 --- a/RepoMgr.cs +++ b/RepoMgr.cs @@ -177,6 +177,7 @@ namespace repomgr { var originMaster = repo.Branches["origin/master"]; repo.Reset(ResetMode.Hard, originMaster.Tip); repo.RemoveUntrackedFiles(); + Shell.Exec("git clean -xfd", Path.Combine(_pkgpath, package.Name)); } public void ReadIndex() {