Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

git mv command is not working properly while renaming a folder

Haripada Maity September 19, 2022

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.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events