Skip to content
/ srcpath Public

Automatically structures your git checkouts, go style ⭐

Notifications You must be signed in to change notification settings

jhaals/srcpath

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

srcpath

srcpath provides go import style folder structure to your git clones

gclone https://github.com/jhaals/yopass places the checkout in ~/src/github.com/jhaals/yopass

Install

Run go build -o srcpath. Put it in your $PATH.

Add function .bashrc/.zshrc

function gclone {
    git clone $1 $(srcpath $1)
}

You can set your own base checkout folder with -src

About

Automatically structures your git checkouts, go style ⭐

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages