This repository has been archived by the owner on Mar 5, 2025. It is now read-only.
DX-5121: Add an option for blt deploy to reset target branch history #4531
Labels
Enhancement
A feature or feature request
When using BLT to deploy artifact to Acquia Git repository, BLT is generating a commit to the target branch.
However, we often don't really need to keep an history of commits on the Acquia Git repository and it is expected that artifacts can be regenerated at any time from the source repository.
With long and big projects, the Acquia Git repository size tend to grow and make code deployment longer due to the size. A workaround is to periodically and manually reset the target branch history.
It would be an interesting feature to have in blt deploy to reset the target branch history.
These are the commands I used so far for my testing:
The text was updated successfully, but these errors were encountered: