Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 432 Bytes

rename-folders-with-git.md

File metadata and controls

22 lines (15 loc) · 432 Bytes

Rename folders with git

I learned from this blog.

How to use

git mv oldfolder newfolder

If you want to overwrite a new folder that is already in your repo, use -force option.

git mv -f oldfolder newfolder

Renaming folder name on case insentive file systems

git mv foldername tempname
git mv tempname folderName