Giter Site home page Giter Site logo

gigit's Introduction

Gigit

gigit user/repo

Gigit, a tool for downloading repositories at a reasonable speed. It is written in Go, making it very efficient in starting any project.

Installation

go install github.com/nazhard/gigit/cmd/gigit@latest

Example

By default, gigit will download repos from GitHub, our favorite git as a service.

gigit user/repo

Spesific branch, commit hash, tag

You can use specific branches, commits, or tags with a #

gigit user/repo#dev

gigit user/repo#691c0bf

# on spesific tag, "v" is required
gigit user/repo#v1.0.0

Subdir

Get sub directory of a repository.

gigit user/repo/dir

gigit nazhard/gigit/cmd/gigit

Commands

Clone instead of download.

With cloning, you will get a .git folder (because it's just git clone ๐Ÿ˜‚)

gigit clone user/repo

Clone with --depth=1 if you just want to fix typo

gigit c1 user/repo
# or
gigit 1 user/repo

More documentation at pkg.go.dev/github.com/nazhard/gigit

Why not use degit instead?

I don't know. I was originally using degit with pnpm, and I felt this way:

  • Slow
  • Buggy
  • Good

Honestly, it's a good project. But, it doesn't seem to be maintained.

From there I thought about making something similar, with some improvements (maybe).


Contributors are welcome! ๐Ÿค—

Inspired by degit

gigit's People

Contributors

fiorin-chan avatar

Watchers

 avatar

gigit's Issues

๐Ÿ“ฆ Feature Tracking

I know it's just a hobby project, but I have 24 hours of time and instead of doing bad things, it's better to make something nyaan nyaan!

...And perhaps you'd like to help me too? UwU with pleasure senpai!

default

  • gigit nazhard/do

specific branch, commit hash, tag

  • gigit user/repo#dev
  • gigit user/repo#d92kDmA
  • gigit user/repo#v0.1.0

sub directory. Useful when download template

  • gigit user/repo/dir
  • gigit github:user/repo/dir

specific host name

  • gigit github:user/repo
  • gigit gitlab:user/repo

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.