-
Notifications
You must be signed in to change notification settings - Fork 334
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Repro steps (Windows):
git init discard-changescd discard-changesecho "">test.txt- Open the repo in SourceGit
- For the local changes, click on the "discard all changes button" ⮪
- Confirm the dialog with OK
Result:
fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
Expected:
The untracked file test.txt is cleaned up.
Additional information:
Git Extensions shows the preview as
C:\Program Files\Git\bin\git.exe" clean -d --dry-run
Would remove test.txt
Done
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request