gitstats icon indicating copy to clipboard operation
gitstats copied to clipboard

Determine whether the working directory is a valid Git repository

Open suminb opened this issue 9 years ago • 0 comments

The following command seems promising:

git rev-parse --is-inside-work-tree

From http://stackoverflow.com/questions/2180270/check-if-current-directory-is-a-git-repository

suminb avatar Dec 05 '15 06:12 suminb