Project duplicate files

I noticed that my project folder start to contain duplication of files for example, I have some view controller and its modules, so I will have viewcontrolller file and view controller2 file. Why can it be?

enter image description here

  • 2

    This has nothing to do with git itself. If these duplicate files are versioned in git check who committed and shared them in the first place. You will have to look for the reason why <file>2.swift exists in the first place elsewhere (accidental click&drag ? download a file from your browser ? …)

    – 

Leave a Comment