Code Monkey home page Code Monkey logo

git-template's Introduction

OVERVIEW

git-template is a tool to provide a somewhat broader templating functionality than the one provided with git itself.

Git templates only relate to files in the .git directory, but git-template templates can include files throughout the working set.

Additionally, git-template provides some out-of-the-box templates, of particular note, ones relevant to Unity3D users, XCode users, and MonoDevelop/Visual Studio users.

INSTALLATION

Add the git-template/bin directory to your path. For Mac (and Linux/BSD/etc) this can be done by editing the ".profile" file in your home directory. For example, if you installed git-template to ~/Tools/git-template, then you would add this line at the end of your .profile:

export PATH=$PATH:~/Tools/git-template/bin

If you use Unity, see UNITY_README.markdown for further instructions

REQUIREMENTS

  • A Unix-like environment, particularly including Bash.
  • Perl
  • Rsync

Note that this was developed/tested under MacOS X, which should work fine out-of-the-box. I have not attempted to use this under Cygwin on Windows, but things should work fine.

USAGE

cd /path/to/your/git/repo
git template --list

...

git template SomeTemplateName

...

git template --info

...

git template --freshen

LICENSE

Dual licensed under the terms of the MIT X11 or GNU GPL, version 2.0 or newer at your discretion.

TODO

  • More rigorous testing of symlink use-cases.
  • Ability to specify removal of files (example: existing hook files in hooks directory, for Unity_Desktop template...).
  • Add git-cleanup script, run it whenever a .gitignore is adjusted.
  • Way to specify some things, such as .gitignore in terms of lines that must/must not be present.
  • Less awkward project structure.
  • Actual test-suite.
  • Installation instructions.

git-template's People

Contributors

mrjoy avatar skiold avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  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.