mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-25 14:15:00 +00:00
fix<Repository>: -r
is needed when remove a path from git
This commit is contained in:
parent
3edb8bf2dd
commit
6356520e94
1 changed files with 1 additions and 1 deletions
|
@ -985,7 +985,7 @@ namespace SourceGit.Git {
|
||||||
if (errs != null) {
|
if (errs != null) {
|
||||||
App.RaiseError(errs);
|
App.RaiseError(errs);
|
||||||
} else {
|
} else {
|
||||||
errs = RunCommand($"rm -f {path}", null);
|
errs = RunCommand($"rm -rf {path}", null);
|
||||||
if (errs != null) App.RaiseError(errs);
|
if (errs != null) App.RaiseError(errs);
|
||||||
|
|
||||||
OnWorkingCopyChanged?.Invoke();
|
OnWorkingCopyChanged?.Invoke();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue