Lena Bru
Lena Bru

Reputation: 13937

Avoid adding png images to git

In my project i am doing snapshot testing. The snapshot testing creates visual png images to be compared with for later use.

I need to find a way to "keep" those images, and be able to compare them in future uses, but not commit them into git.

Do you have any suggestions ?

Upvotes: 0

Views: 492

Answers (1)

Schwern
Schwern

Reputation: 164639

Use Git Large File Storage which stores the history of the files, but the content is stored in the cloud. This avoids bloating out the repository size while allowing you to track large files.

Upvotes: 1

Related Questions