Porcupine
Porcupine

Reputation: 6475

gitignore files with a particular hash but git add if hash changes

I don't want to commit or stage files that matches particular hash value but if I edit those files later it should be staged when I do git add.

Any suggestions? Basically there are files that are periodically generated and the content is copied from the template, so I don't want to stage these files unless I modify the contents of those files (without modifications in the file name or path).

Upvotes: 0

Views: 39

Answers (0)

Related Questions