Skip to content

Commit 1c4f1c4

Browse files
VeLKerrmax-wittig
authored andcommitted
docs(projects): fix file deletion docs
The function `file.delete()` requires `branch` argument in addition to `commit_message`.
1 parent 62b0b62 commit 1c4f1c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/gl_objects/projects.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ encoded text::
368368

369369
Delete a file::
370370

371-
f.delete(commit_message='Delete testfile')
371+
f.delete(commit_message='Delete testfile', branch='master')
372372

373373
Get file blame::
374374

0 commit comments

Comments
 (0)