Recently See Git lfs article, read the next introduction, is really good, similar to Git, but a little different oh. If you want to track the files, go ahead.
git lfs track *.pdf
In the past, when we were in Tableau's big files, we were going to use git, but it would be slow, and maybe Git server would be hung up.
Git in version code, will be differ, just make changes to the change record, do not know git lfs binary is how to do, perhaps each file saved a portion, this is simple (and git treats the same as binary); maybe it's a diff too. Later I looked at the data and found that git lfs actually put the file in a different place, rather than just keeping the file pointer (1kb file OH) in the Git repository.
Then there is the problem that the solution above solves the version of our binary file of tableau, but if we have both the code and the binary to do it.
What I can think of now is that if we have a bunch of PDFs, and a bunch of code, then
1. Git inside ignore*.pdf
2. Git lfs tracker *.pdf
Just see the introduction, the General collection of the next information, not to do the drill, after all, is a solution. Oh.
Doc document https://github.com/github/git-lfs/tree/master/docs?utm_source=gitlfs_site&utm_medium=docs_link& Utm_campaign=gitlfs https://zzz.buzz/zh/2016/04/19/the-guide-to-git-lfs/
PostScript to see the next history, the project's Readme on June 2, 2014 has been. November 23, 2015, Gitlab announced support for Git Lfs,gitlab 8.2 to start supporting Gitlab LFS, but in order to ensure that the performance file size is best not more than 1GB July 18, 2016, BitBucket also support git LFS, a bit slow ha , but Doc is good, and there's a very good introductory video.