I'd like to keep the newest version of some binary files (ie 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?
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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.