Skip to content

Latest commit

 

History

History
9 lines (6 loc) · 209 Bytes

groot.md

File metadata and controls

9 lines (6 loc) · 209 Bytes

Move to the Root of a Git Directory

Source: My friend Alex Novak

cd `git rev-parse --show-toplevel`

I keep this aliased as groot and use it very frequently when moving through a codebase.