Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

git mv command is not working properly while renaming a folder

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

Atlassian Community Events