Thread (9 messages) 9 messages, 4 authors, 2016-06-15

Forcing git top-level

flat view

From: Cedric Gava <hidden>
Date: 2016-06-15 23:04:19

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help