Under what circumstances is the version of files managed with GIT distorted ? This is my question, but here is the context: I study GIT and work with a local repository, and today it looks like several files were damaged (or something else). All text looks as follows: ‘Œ…fŠŎŠõˇÅ ≤ÍÈ(for example). Files have been distorted in all GIT snapshots since they were added. To make matters worse, the repo was stored in Dropbox and was also used to store web files for the development web server (MAMP). Any idea what happened? I did not find anything useful on the Internet.
Update: now it looks like some files just disappeared; For example, I get this message opening one:The alias "test.php" can’t be opened because the original item can’t be found.
Update 2: I thought about it more, and I think I ignored the important detail related to the general question: I moved the .git dir directory alone, that is, along this path, the Dropbox/Project/gitRepo/.git file moved from gitRepo to Project. He committed without problems, but then there was corruption between this event and some other GIT actions.
source
share