Reputation: 183
I'd like to keep the newest version of some binary files (i.e. pdf, jpg, png) up to date on my GitHub via the git add
/commit
/push
workflow that I know. But I have no need for tracking their history, since these files are generated from the remaining code.
I could ignore tracking these file-types, then force remove and add when pushing, but that seems inefficient. How do I best handle this?
Upvotes: 2
Views: 326
Reputation: 1323203
You could:
That way, you can associate a set of files to a specific version of your code.
See "Managing releases in a repository" from GitHub.
Upvotes: 1