Coder Social home page Coder Social logo

momo-lab / git-now Goto Github PK

View Code? Open in Web Editor NEW

This project forked from iwata/git-now

0.0 1.0 0.0 68 KB

A temporary commit tool for git

Home Page: http://d.hatena.ne.jp/mobcov/20110904/1315130438

License: GNU General Public License v2.0

Shell 61.29% Vim Script 0.83% Emacs Lisp 2.00% Ruby 11.03% Makefile 20.28% Batchfile 4.56%

git-now's Introduction

git-now

git-now is a command-line tool for light and temporary commit. It commits with a log message from time now and diff.

Usage

Create a temporary commit:

$ git now

You can use the same option as git add.

$ git now [-n] [-v] [--force | -f] [--interactive | -i] [--patch | -p]
          [--edit | -e] [--all | [--update | -u]] [--intent-to-add | -N]
          [--refresh] [--ignore-errors] [--ignore-missing] [--stat | -s] [--]
          [<filepattern>...]

Subcommands

Available subcommands are:

  • rebase - rebase for temporary commits.
  • push - rebuild that is remove and push remote branch.
    If you already pushed git-now commits to remote and rebase these, you should run this subcommand.
  • grep - grep temporary commits.

Try 'git now <subcommand> help' for details.

Installation

Mac OS

If you're on a Mac and use homebrew, it's simple:

$ brew install git-now

install options

  • --zsh-completion
    copy zsh completion function to /usr/local/share/zsh/functions for zsh users

     $ brew install --zsh-completion git-now
    

    Show details

     $ brew options git-now
    

Manual installation

If you prefer a manual installation, please use the following instructions:

$ git clone --recursive git://github.com/iwata/git-now.git

for Windows

Then, you can install git-now, using:

> .\contrib\msysgit-install.bat

By default, git-now will be installed in %HOME%, If %HOME% is not defined be installed in %UserProfile%\bin.

note : shFlags needs "getopt.exe" or others, Reffer to [gitflow installation document] (https://github.com/nvie/gitflow/wiki/Windows).

for Others

Then, you can install git-now, using:

$ sudo make install

By default, git-now will be installed in /usr/local. To change the prefix where git-now will be installed, simply specify it explicitly, using:

$ sudo make prefix=/opt/local install

Or simply point your PATH environment variable to your git-now checkout directory.

See also

Special thanks

git-now's People

Contributors

abackstrom avatar bakudankun avatar bleis-tift avatar iwata avatar kazuhisya avatar masaru-b-cl avatar momo-lab avatar mzp avatar nak2k avatar star-zero avatar todesking avatar toshi-kawanishi 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.