tadasajon
tadasajon

Reputation: 14836

Git - how do I freeze a particular version of a small file, keep it in my repository, but then ignore constant minor changes to it going forward

I have a file in my source code repository that I cannot simply remove from my code base. However, this file is constantly changing in insignificant ways. When every I run my project in my dev environment this file gets touched, so my git repository always dutifully reports changes and asks me what to do about them. How do I just ignore them forever?

Upvotes: 0

Views: 256

Answers (1)

Marvin
Marvin

Reputation: 14255

Add it to your .gitignore file.

Upvotes: 2

Related Questions