How Dump a git repository from a website termux or any linux distribution ?

How Dump a git repository from a website termux or any linux distribution ?

πŸ¦‘π•€β„•π•Šπ•‹π”Έπ•ƒπ•ƒπ•€π•Šπ”Έπ•‹π•€π•†β„• & β„π•Œβ„•:

git clone https://github.com/arthaud/git-dumper

cd git-dumper

pip install -r requirements.txt

./git-dumper.py http://website.com/.git ~/website

πŸ¦‘Features :

> Fetch all common files (.gitignore, .git/HEAD, .git/index, etc.);

> Find as many refs as possible (such as refs/heads/master, refs/remotes/origin/HEAD, etc.) by analyzing .git/HEAD, .git/logs/HEAD, .git/config, .git/packed-refs and so on;

> Find as many objects (sha1) as possible by analyzing .git/packed-refs, .git/index, .git/refs/* and .git/logs/*;

> Fetch all objects recursively, analyzing each commits to find their parents;

> Run git checkout . to recover the current working tree





Follow us for more information...

No comments:

Post a Comment

How to Install files and the database in MAMP Server.mp4

  Download now   Enjoy! Follow us for more...