Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

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

dsosborn I'm New Here 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

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,170 views 2 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you