Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Recursively archive a git repo with submodules

svngit/git-archiver

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

git-archiver

A git subcommand to recursively archive a repo containing
submodules. The git clones of the bare repos are cached
in --git-base (default: $HOME/.git-archiver/repos)

$ cd my-repo && git-archive HEAD > out.tar
$ git-archive --git-dir=my-repo master > master.tar
$ git-archive --git-dir=my-repo develop:sub/dir > subdir.tar
$ git-archive --git-dir=my-repo --skip-fix | tar xi -C /path/to/extract
$ git-archive --git-dir=my-repo | gzip | tar zx -C /path/to/extract

Amit Bakshi [email protected] 4/30/2013

About

Recursively archive a git repo with submodules

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published