top | item 46397181 (no title) jackwilsdon | 2 months ago It appears to walk up from the process's working directory searching for a .git directory: https://github.com/pranshuparmar/witr/blob/1e47bdb8fde179b17... discuss order hn newest pranshuparmar|2 months ago Yes, that's correct! It walks up from the process’s working directory looking for a `.git` folder to detect the repo and branch. Thanks.
pranshuparmar|2 months ago Yes, that's correct! It walks up from the process’s working directory looking for a `.git` folder to detect the repo and branch. Thanks.
pranshuparmar|2 months ago