Skip to content

bezhermoso/jump-to-git-root

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

jump-to-git-root

Simple ZSH utility to jump back to the Git repo's root directory.

Can pierce through submodule: when already at a submodule's root directory, invoking it will jump you to the parent repo's root directory.

Setup

Clone this repository:

git clone https://github.com/bezhermoso/jump-to-git-root.git /usr/local/share

Add the functions directory of this repo to your fpath:

# Add to fpath
fpath+=('/usr/local/share/jump-to-git-root/functions')

# RECOMMENDED: Assign to a short alias:
alias gr=jump-to-git-root

About

Simple shell utility to jump back to a Git repo's project root

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages