The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

git mv command is not working properly while renaming a folder

Haripada Maity
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

TAGS
AUG Leaders

Atlassian Community Events