unixorn/git-extra-commands

View on GitHub
bin/git-root-directory

Summary

Maintainability
Test Coverage
#!/usr/bin/env bash
#
# Print the root of the git checkout you're in.

exec git rev-parse --show-toplevel