I'm trying to modify some files and push them to the `test` branch. I didn't find something in the documentation. can you please anyone tell me how can I do that? and can I push multiple files? (not I'm talking about Bitbucket rest APIv2, not Bitbucket server)
As you write about REST API, I guess you're trying to programatically push commits to a remote Bitbucket Cloud repo.
If so, then do NOT use the REST API for that!
Programatically clone the repo, then work on the local clone and push changes. You can use the git commandline client for that (or other client libraries that are available for all major programming languages). You would basically work with the Git tool in your program just like a human user.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Oh, I didn't know about this approach. Interesting, thanks.
(I am not sure though if I used the REST API to do this if I had the option of using the Git client.)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Aron Gombas _Midori_ yes but if you have big projects and you need something to work on all of these projects like webhook. git clone will be very expinsive
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.