logoalt Hacker News

pranshuparmartoday at 12:00 PM0 repliesview on HN

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.