git mv command is not working properly for folder renaming

XMLWordPrintable

    • Type: Bug
    • Resolution: Not a bug
    • Priority: High
    • None
    • Affects Version/s: 3.4.9
    • Component/s: Bitbucket, Git
    • None
    • Severity 1 - Critical

      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.

            Assignee:
            Unassigned
            Reporter:
            Haripada Maity
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: