Answer the question
In order to leave comments, you need to log in
How to make Git and Dropbox friends?
Good afternoon,
There is a Git repository in the Dropbox folder.
When you simply save the file (do not change anything in the content) and have dropbox sync enabled, Git considers that the file has changed.
In diff, it shows that all lines have changed to themselves. As if I deleted and then created the file again. Pretty… uncomfortable.
In this case, the file is not marked as new, just all lines are minus and all lines are plus.
Is there any way to fix this besides temporarily stopping Dropbox?
Answer the question
In order to leave comments, you need to log in
I have normal git and dropbox friends, there are no problems, this situation has never appeared.
I have been working with such a bunch (Linux) for more than two years. No complaints.
The point is to change the date of writing to the file. File date changed - git thinks the file has changed even if nothing in it has changed.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question