File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -481,16 +481,18 @@ It is recommended that `<path>` always be encoded using UTF-8.
481481
482482`filedelete`
483483^^^^^^^^^^^^
484- Included in a `commit` command to remove a file from the branch.
485- If the file removal makes its directory empty, the directory will
484+ Included in a `commit` command to remove a file or recursively
485+ delete an entire directory from the branch. If the file or directory
486+ removal makes its parent directory empty, the parent directory will
486487be automatically removed too. This cascades up the tree until the
487488first non-empty directory or the root is reached.
488489
489490....
490491 'D' SP <path> LF
491492....
492493
493- here `<path>` is the complete path of the file to be removed.
494+ here `<path>` is the complete path of the file or subdirectory to
495+ be removed from the branch.
494496See `filemodify` above for a detailed description of `<path>`.
495497
496498`filedeleteall`
You can’t perform that action at this time.
0 commit comments