summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormatthew-a-dunlap <matthew.a.dunlap@gmail.com>2020-08-13 19:03:22 -0400
committermatthew-a-dunlap <matthew.a.dunlap@gmail.com>2020-08-13 19:03:22 -0400
commit9e94b7511de821619e8bcf66a3ae1f187f15d594 (patch)
treefa60bd53506bd026e6a51aa384cd86c9ba271d98
parent1606310a880f8a8a2a370db27511b57732caf178 (diff)
downloadgitlab-9e94b7511de821619e8bcf66a3ae1f187f15d594.tar.gz
docs: additional project file delete example
Showing how to delete without having to pull the file
-rw-r--r--docs/gl_objects/projects.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/gl_objects/projects.rst b/docs/gl_objects/projects.rst
index 9bd98b1..61383e4 100644
--- a/docs/gl_objects/projects.rst
+++ b/docs/gl_objects/projects.rst
@@ -376,6 +376,8 @@ encoded text::
Delete a file::
f.delete(commit_message='Delete testfile', branch='master')
+ # or
+ project.files.delete(file_path='testfile.txt', commit_message='Delete testfile', branch='master')
Get file blame::