The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Can the Bitbucket Server API be used to push a directory to repo without git history?

dsosborn
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 26, 2022

I am trying to use a Bitbucket repository in a slightly unorthodox fashion... For legal reasons I need to keep track of the dynamically-generated output html from my static website builder. Therefore, with each publish, I would like to use the Bitbucket Server API to commit the html directory and push it to the repo. Is this possible? 

Note: I don't necessarily need the commits to be related, so I can use push --force. I just need to be able to look at a commit and see the files present at that time.

0 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

TAGS
AUG Leaders

Atlassian Community Events