Hello
I’ve copied a .git folder located at the root (/) of a filesystem, into another directory (/home/mydir). If I issue a git rev-parse —show-toplevel I got "/"...
I would like to change the top-level to point to /home/mydir.
I’ve also tried to bare clone the original .git folder, but the new git repo stills points it top-level to "/".
Thank you for your answer
Best regards
Cedric