I learned from this blog.
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
git mv foldername tempname
git mv tempname folderName
I learned from this blog.
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
git mv foldername tempname
git mv tempname folderName