Giter Site home page Giter Site logo

get's Introduction

get

A wrapper of ghq and go.

Build Status Coverage Status

Installation

go get github.com/pocke/get

Usage

$ get TYPE ADDRESS

get supports 2 types.

get supports 4 styles of address.

  • https://github.com/pocke/get
  • https://github.com/pocke/get.git
  • github.com/pocke/get.git
  • [email protected]:pocke/get.git

For example

$ get go https://github.com/pocke/get
$ get ghq github.com/pocke/get.git

Advanced Usage

Get supports -shallow and -unshallow options. They work with ghq. Get just ignores them with go.

When -shallow option is given, get clones the specified repository shallowly. When -unshallow option is given, get executes git fetch --unshallow asynchronously.

They improves cloning speed. If you specify -shallow and -unshallow, you can clone repository faster, and get whole repository after a while. For example:

$ get -shallow -unshallow ghq https://github.com/pocke/get

If you'd like to enable this feature by default, put a config file to ~/.config/get/args with the below content.

-shallow -unshallow

Links

License

These codes are licensed under CC0.

CC0

get's People

Contributors

mergecat[bot] avatar pocke avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

get's Issues

Parsing Dir

go get github.com/user/repo/dir is valid.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.