Skip to content

← All questions

Should HAR files go into git? Ours are nearly a megabyte each

Example threads. These questions and answers were written by the SDODS team to document real problems and how to fix them. The people named are illustrative, not real users. Questions asked on this site are marked new.

Three recordings and the repository is a couple of megabytes heavier:

text
926K  projects/demo-shop/har/staging/cart.har
926K  projects/demo-shop/har/staging/login.har
926K  projects/demo-shop/har/staging/products.har

Two worries. Size, obviously, since every re-record rewrites the whole blob and the history grows. And the login one — that recording was made while signed in, so I would rather like to know what is in it before I push. Gitignore them and rebuild in CI, or commit?

3 answers

Have a different question? Ask it.

Related