I have a bunch of images in my Xcode 4 project that I would like to rename and/or remove. I am using Git as my version control. If there is an image file, say, called myImage.png which is defined as an Image View in one of my view controllers that I want to rename to myImage2.png, can I simply click on the name of the image file in the Xcode Project Navigator to rename it? If so:
a) will the actual image file be renamed automatically in the Finder?
b) will the name reference in the Image View be updated automatically?
c) most importantly, will Git be smart enough to know that I have renamed the file and mark the renamed file "M" and be ready for my next commit, i.e. it's equivalent to "git mv myImage.png myImage2.png
"?
Similarly, is it possible to delete a file defined in the xcode project by right clicking on the file in the Xcode Project Navigator and select Delete? Would it be equivalent to "git rm foo.png
"?
My development partner is more of a graphic person and is not savvy with command line interface like Terminal.app. I would like to know if he needs to rename/delete certain image files whether he can do so directly in xcode without breaking the integrity of the git repo unintentionally.