4 ms·
FYI: you may want to check `git rev-parse --show-cdup` - in root of the repo, it prints empty string - if you're 1 level deep it prints `../` - if you're 2 l
by jakub_g 8mo ago
FYI: you may want to check `git rev-parse --show-cdup`
- in root of the repo, it prints empty string
- if you're 1 level deep it prints `../`
- if you're 2 levels deep it prints `../../`
One minor drawback: inside `.git` subfolder, it always prints empty string too.