git-get

command module
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 1, 2026 License: MIT Imports: 8 Imported by: 0

README

git-get

About

git-get is a simple utility that clones git repositories into a go get style directory structure.

For example, this command:

git-get git@github.com:jackson-hughes/git-get.git

Produces:

<GIT_GET_DIR>/github.com/jackson-hughes/git-get

Installation

Install directly with Go:

go install github.com/jackson-hughes/git-get@latest

Alternatively, clone the repository and build or install from source. The Taskfile provides build and install commands, e.g:

task install

Config

git-get is configured via environment variables:

Variable Required Description
GIT_GET_DIR Yes Root directory that repositories are cloned into
GIT_GET_DEBUG No Set to true to enable debug logging

I set GIT_GET_DIR in my ~/.zshrc, e.g:

export GIT_GET_DIR="$HOME/Projects"

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL