I am using the repository as the source for netlify. Everything in the repository is generated by a script so I do not need any history.
So I have two questions:
- how can I remove everything except the current version of every file?
- Is it possible to prevent git from storing versions.
I have tried just deleting and reinitialising the local repository and doing git push --force but it made no difference to the remote.