Ask a question to get started
Enter to send•Shift+Enter new line
read_git_commit_sha_via_subprocess( path: str | Path, ) -> str
path
str | Path
Directory or file path inside a repository.
Fall back to git rev-parse HEAD for unusual repository layouts.
git rev-parse HEAD