Skip to content

Latest commit

 

History

History

git-top

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

git top

Get the top level directory name

Git alias:

top = rev-parse --show-toplevel

Example:

git top
/home/alice/projects/example