I started by creating a new file, then manually moving it, and then modifying it. It's both a new and removed file, according to Git. Is there a way to make Git handle it like a file transfer?
Asked
Active
Viewed 51 times
0
-
1Did you create a commit? – Isma May 30 '21 at 09:13
-
1Yes... I did. i was create – Menisha Myelwaganam May 30 '21 at 09:24
-
Possible duplicate of How to make git mark a deleted and a new file as a file move? – May 30 '21 at 09:25
-
1Git does not store "moves" nor "copies". You can try playing around witth `-C` and `-M` flags (copy and rename detection). See also [How to make git mark a deleted and a new file as a file move?](https://stackoverflow.com/questions/433111/how-to-make-git-mark-a-deleted-and-a-new-file-as-a-file-move) – knittl May 30 '21 at 09:35