[英]How to keep newest version of binary files on GitHub without fully tracking them?
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.我想通过我知道的git add
/ commit
/ push
工作流,在我的 GitHub 上保持最新版本的一些二进制文件(即 pdf、jpg、png)。 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.请参阅 GitHub 中的“管理存储库中的发布”。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.