title: Adding files to BitBucket repository using BitBucket Server REST API
body: <p>Everytime a new file is added to my server, I want that file to be added into BitBucket server. The server containing files is non-git and I want to know if this is possible programmatically using Bitbucket server rest api. Is it possible to do a remote commit and push to a certain branch using rest api? I took a look into the <a href="https://docs.atlassian.com/bitbucket-server/rest/7.13.0/bitbucket-rest.html" rel="nofollow noreferrer">documentation</a> and couldn't figure out which is the one for this scenario. Any help would be appreciated.</p>