Code Monkey home page Code Monkey logo

git-archive-all's Introduction

Archive a repository with all its submodules.

git-archive-all [-v] [-C BASE_REPO] [--prefix PREFIX] [--no-export-ignore] [--force-submodules] [--include EXTRA1 ...] [--dry-run] [-0 | ... | -9] OUTPUT_FILE

Options:

  --version             show program's version number and exit

  -h, --help            show this help message and exit

  -v, --verbose         enable verbose mode

  --prefix=PREFIX       prepend PREFIX to each filename in the archive;
                        defaults to OUTPUT_FILE name

  -C BASE_REPO          use BASE_REPO as the main git repository to archive;
                        defaults to the current directory when empty

  --no-export-ignore    ignore the [-]export-ignore attribute in .gitattributes

  --force-submodules    force `git submodule init && git submodule update` at
                        each level before iterating submodules

  --include=EXTRA       additional files to include in the archive

  --dry-run             show files to be archived without actually creating the archive

Questions & Answers

Q: How to exclude files?
A: Mark paths you want to exclude in the .gitattributes file with the export-ignore attribute. Read more on git-scm.com.
Q: What about non-unicode filenames?
A: All filenames that particular version of Python can represent and handle are supported. Extra [en|de]coding is done where appropriate.

Support

If functional you need is missing but you're ready to pay for it, feel free to contact me. If not, create an issue anyway, I'll take a look as soon as I can.

git-archive-all's People

Contributors

kentzo avatar pwaller avatar justinfx avatar amorilia avatar alehaa avatar lbonn avatar andyli avatar theory avatar eric-zenfire avatar xuhdev avatar jkotur avatar asmodehn avatar philips avatar dalees avatar legoktm avatar rykov avatar goriy avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.