Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 164 Bytes

index.md

File metadata and controls

16 lines (11 loc) · 164 Bytes

git top

Get the top level directory name

Git alias:

top = rev-parse --show-toplevel

Example:

git top
/home/alice/projects/example