SyntaxFix
Write A Post
Hire A Developer
Questions
For git 1.7.x the following commands worked for me:
git mv css/iphone.css css/mobile.css git commit -m 'Rename folder.'
There was no need for git add, since the original file (i.e. css/mobile.css) was already in the committed files previously.