I copied a repository (which had some not committed changes)
$ git checkout -b feature/servicing/pal4_Migration2
M .idea/libraries/tsconfig_roots.xml
M ui/dev/pages/AbstractChecks.ts
M ui/dev/pages/availabilities/avac/AvacChecks.ts
In this new repository I added my changes and when I try to commit I get the following error:
$ git commit -n
ERROR: fatal: failed to stat
'HEAD^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^': Filename too long ERROR: GIT::Command::git_or_die died at line 164
I am not a big expert in git so do not hesitate to ask for more information if you think you know what is going on. Do you know a way to solve this?