Git-Dump

command module
v0.0.0-...-6cea029 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2020 License: GPL-3.0 Imports: 1 Imported by: 0

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

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