Test Whether a Directory is a Git Work Tree
Return success if the current or given directory sits inside a git work tree, without printing the repository root.
This page is in English. Your browser can translate it.
Return success if the current or given directory sits inside a git work tree, without printing the repository root.