Categorygithub.com/Vexvain/Git-Dump
modulepackage
0.0.0-20201105044635-6cea029d3862
Repository: https://github.com/vexvain/git-dump.git
Documentation: pkg.go.dev

# README

Git-Dump


Usage

usage: git-dump [flags] url [dir]

Flags:
   -f, --force   overrides DIR if it already exists
   -h, --help    help for git-dump

Example

git-dump example.com

How to install

go get -u github/Vexvain/Git-Dump

How it works

The tool will check if directory listing is available. If so, it will simply download the .git directory (like wget)

If directory listing is not currently available, the tool will use several methods to find as many files as possible

Step by step:

  • Fetch all common files
  • Find as many refs as possible
  • Finding as many objects as possible
  • Fetch all objects continually
  • Run .git checkout . to recover the current tree

# Packages

No description provided by the author