# File lib/gitlab/client/repository_files.rb, line 53 def edit_file(project, path, branch, content, commit_message) put("/projects/#{project}/repository/files", body: { file_path: path, branch_name: branch, commit_message: commit_message }.merge(encoded_content_attributes(content))) end