diff options
| author | matthew-a-dunlap <matthew.a.dunlap@gmail.com> | 2020-08-13 19:03:22 -0400 |
|---|---|---|
| committer | matthew-a-dunlap <matthew.a.dunlap@gmail.com> | 2020-08-13 19:03:22 -0400 |
| commit | 9e94b7511de821619e8bcf66a3ae1f187f15d594 (patch) | |
| tree | fa60bd53506bd026e6a51aa384cd86c9ba271d98 /docs/gl_objects | |
| parent | 1606310a880f8a8a2a370db27511b57732caf178 (diff) | |
| download | gitlab-9e94b7511de821619e8bcf66a3ae1f187f15d594.tar.gz | |
docs: additional project file delete example
Showing how to delete without having to pull the file
Diffstat (limited to 'docs/gl_objects')
| -rw-r--r-- | docs/gl_objects/projects.rst | 2 |
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:: |
