Create a commit in a project
One step with GitLab. We can help you get access.
Get something done
Create a commit in a project
with GitLab
Works with AI assistants
Use GitLab: its GitLab REST Commits API lets you create a commit in a project in a single step (POST /api/v4/projects/{id}/repository/commits). GitLab also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.
- How do I commit a new file to a project through the API?
- Can I create a commit that adds a file to a repository?
Say it to your AI assistant
- Create a commit in project {id} with file {file}.
- Add file {file} to the repository of {id}.
For your developer
POST /api/v4/projects/{id}/repository/commits in GitLab REST Commits API. Full spec on APIs.io.