Create A Commit By Uploading A File
This endpoint is used to create new commits in the repository byuploading files.To add a new file to a repository:```$ curl https://api.bitbucket.org/2.0/repositories/username/slug/src \ -F /repo/path/to/[email protected]```This will create a new commit on top of the main branch, inheriting thecontents of the main branch, but adding (or overwriting) the`image.png` file to the repository in the `/repo/path/to` directory.To create a co...