Skip to content

Files

Latest commit

d150cec · May 21, 2022

History

History

git-top

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
May 21, 2022
Jan 11, 2022

README.md

git top

Get the top level directory name

Git alias:

top = rev-parse --show-toplevel

Example:

git top
/home/alice/projects/example