Giter Site home page Giter Site logo

git-demo-tools's Introduction

Git Demo Tools

Git Demo Tools is a suite of tools useful for teaching and demoing git.

Live log

Live log is started with the git livelog command, and will start a continuously updating git tree with enough information to make it useful, but still sparse enough to fit on a screen next to a shell.

The command takes two parameters, the maximum number of entries (lines) to show, and the update interval in seconds. The default number of lines is 20, and the default update interval is 1 second.

Repo switcher

  • The git repo command takes the name of an example repository as an argument, and will instantly replace the current repository with the specified example.
  • The git repo-save command takes the name of a new example repository as an argument, and saves the current repository as that name.
  • The git repo-list command lists all saved example repositories.

Example repository structure

Repositories are stored in the path specified by $EXAMPLEREPOS, and should consist of a directory (the name of the directory will be the name of the example) containing a metadata directory (with a bare git repo inside) and a tree directory containing the working tree.

Installation

  • Clone this repository and add the bin directory to your $PATH.
  • Update $EXAMPLEREPOS to point to the directory with your examples.

git-demo-tools's People

Contributors

kh31d4r avatar

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.