I am trying to rename a folder and running the below command in sourcetree terminal and see it is failing.
git mv -f CAP_TMF_driver CAP_TMF_Driver
Note: changing from lower-case to upper case.
and seeing the bellow failure.
$ git mv -f CAP_TMF_driver CAP_TMF_Driver
Rename from 'Ultrascale_HW_Drivers/CAP_TMF_driver' to 'Ultrascale_HW_Drivers/CAP_TMF_Driver/CAP_TMF_driver' failed. Should I try again? (y/n) y
Rename from 'Ultrascale_HW_Drivers/CAP_TMF_driver' to 'Ultrascale_HW_Drivers/CAP_TMF_Driver/CAP_TMF_driver' failed. Should I try again? (y/n) n
fatal: renaming 'Ultrascale_HW_Drivers/CAP_TMF_driver' failed: Permission denied
CAP_TMF_driver does have few other folder and files in there, and there are no change in those files.