GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - jwaldrip/git-get: Git clone that clones into a common path

BranchesTags
Open more actions menu

Latest commit

 

History

38 Commits
38 Commits

Folders and files

NameName
Last commit message
Last commit date
command
command
 
 
vendor
vendor
 
 
.gitignore
.gitignore
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
Gopkg.lock
Gopkg.lock
 
 
Gopkg.toml
Gopkg.toml
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
main.go
main.go
 
 

Repository files navigation

Git Get

Git clone that clones into a common path. It was inspired by go get and follows a similar folder structure.

Installation

Install with Homebrew (Mac)

$ brew install jwaldrip/utils/git-get

Manual Install

Prerequisites

  • Go
  • GCC
  • OpenSSL
  • LibSSL2
  • cmake
  • pkg-config
$ git clone [email protected]:jwaldrip/git-get.git
$ cd git-get
$ make install

Setup

You must have either a set a $GITPATH or $GOPATH variable.

NOTE: using a $GOPATH will also append a /src to the path.

bash:

$ echo "export GITPATH=$HOME/dev" > .bashprofile

zsh:

$ echo "export GITPATH=$HOME/dev" > .zshrc

Usage

$ git get [repo-url]

Auto host

By default, if no host is specified, git-get will lookup repos by the provided path on github. You can use the following flags to override this:

  • --bitbucket
  • --github
  • --host {hostname}
  • -h {hostname}

Force SSH

By default git-get will either use the scheme passed, or default to https:, to use SSH use the --ssh or -S flag.

Example

$ git get [email protected]:jwaldrip/git-get
Cloning into '/Users/jwaldrip/dev/github.com/jwaldrip/git-get'...
remote: Counting objects: 13, done.
remote: s: 100% (11/11), done.11)   /11)
Total 13 (delta 2), reused 13 (delta 2)
Recieving objects: 92% (12/13) objects...
Recieving deltas: 100% (0/0) objects...
Indexing objects: 100% (13/13) objects...

Contributing

See CONTRIBUTING for details on how to contribute.

About

Git clone that clones into a common path

Resources

Readme
MIT license

Contributing

Contributing
Activity

Stars

16 stars

Watchers

1 watching

Forks

1 fork
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.