RSS Amplifier

moomou · Dec 29, 2025

Navigating within a Mono Repo

0
Sign in to vote or save

This page cannot be shown here. You can still read it on the original site — the toolbar below keeps your place in the directory.


 Groot and Friends
 # 
 
 Navigating within a mono repo can be tedious. 
 I frequently find myself doing cd ../.. to navigate to sibling folders or jumping to the root of the git directory to navigate and inspect other part of the code base. 
 To navigate to the root of the Git repository, I use an alias groot defined as 
 alias groot='cd $(git rev-parse…

Groot and Friends #

Navigating within a mono repo can be tedious.

I frequently find myself doing cd ../.. to navigate to sibling folders or jumping to the root of the git directory to navigate and inspect other part of the code base.

To navigate to the root of the Git repository, I use an alias groot defined as

    alias groot='cd $(git rev-parse --show-toplevel)'

Excellent tools such as fd and fzf help a lot but I want to be able to jump to different part of the repo with a few keystrokes. For example, in a mono repo, I want to be quickly jump from go/src/mou.dev/cmd to schema/proto.

Read on /posts/2024-06-01-gd/

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.