Giter Club home page Giter Club logo

gitifier's Introduction

NoVC Gitifier

Tool for converting multiple versions of files into a git history.

Gitifier reads a list of files or directories from stdin, and adds each one, in order, to a fresh git repository.

Gitifier has three modes:

Files Mode

For use with a series of versions of a single file.

The supplied reponame will be used both as the name of the repository folder, as well as the name of the file in the repository. A different filename can be specified using -n filename.

Directories Mode

For use with a series of versions of a single directory. This is the default mode.

-m can be used when each directory only contains files that differ from the previous directory.

Archives Mode

For use with a series of tar or zip archives (files or directories).

This mode requires tar and/or unzip.

-l will flatten any single directories within the archive, i.e. if all the files in the archive are in a single folder, they will be moved to the root folder.

Usage

NoVC Gitifier
Usage: $0 [-f|-d|-z] reponame
       $0 -f [-n filename] reponame
       $0 -d [-i gitignore] [-m] reponame
       $0 -z [-i gitignore] [-l] reponame

   -f: files mode
   -d: directories mode
   -z: archives mode

   -i: .gitignore file to use
   -n: filename to use
   -m: merge directories
   -l: flatten directories

Examples

For more examples for how to use Gitifier, see the examples folder.

gitifier's People

Watchers

 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.