Skip to content

Vexvain/Git-Dump

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

git repository dumper 🤪

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages