thinhong / cpp_training

C++ training
1 stars 0 forks source link

notes.docx #14

Closed choisy closed 3 years ago

choisy commented 3 years ago

I see that you have a .docx document in the docs folder. This is not a good idea to track binary files with Git as it will resave the whole file between two version instead of simple the changes in the files. Thus, it makes Git not very useful for such files as you won't be able to visualize the changes history. But more worrying is that is the changes are frequent and / or the file is big, it may very quickly fill in you disk with of the new versions (even if each change is very small). Even though the new generation of MS document (ending with a x) are based on mark-up language, there are not entirely plain-text files and are thus treated as binary files by Git. Use a simple text file instead.