Giter Club home page Giter Club logo

gittern's Introduction

Instrumental Git with Gittern

Gittern is bundle of Git extensions scripts written in shelljs, featuring to reduce daily routines verbosity when working with Git.

Install from NPM

sudo npm install -g gittern

Compatibility Test

  • OSX 10.6 - tested
  • Msysgit - tested

List of available commands

git br

Print the current working branch name.

git tr [branch]

Print the remote tracking branch of the current/specified branch.

git repo

Figure out the Git repository name of the current working copy.

git sync [branch]

Receive fast-forward changes from the remote tracking branch by rebasing local changes onto it.

git align

Discard any local changes made to align with the HEAD of remote tracking branch.

git close [branch]

Remove both the local and the remote tracking branch.

git each [pattern] [command]

Execute the command, in each of git repo (sub) directory that are matched by the specified pattern.

git submodule-setup

Automatically add all sub modules from your .gitmodules file in the working directory.

git url [ref]

Generate an URL of the Git web interface that points to the specified git ref/tag/branch.

git rolltag [ref]

This command is to navigate to the next sequential tag.

If the TIP of your current index reflects a tag name ends up with number, this command is to checkout the next tag name in sequential, say you're now on, e.g. yesterday(1) and has another tag called today(2), this command will checkout today(2) for you, and the next call will be expecting something like tomorrow(3) or whatever-3 basically any tag ends up with three.

It is to stop at the end of sequence if there are not more tags available.

gittern's People

Contributors

garryyao avatar

Stargazers

 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.