A temporary commit tool for git
Go to file
2011-10-21 00:28:38 +09:00
etc smart zsh completion 2011-10-19 11:20:16 +09:00
shFlags@2fb06af13d create feature branch 2011-09-03 21:24:52 +09:00
.gitmodules create feature branch 2011-09-03 21:24:52 +09:00
git-now create push subcommand and stat option for add subcommand 2011-10-18 01:24:16 +09:00
git-now-add add --push option 2011-10-19 08:31:18 +09:00
git-now-grep create push subcommand and stat option for add subcommand 2011-10-18 01:24:16 +09:00
git-now-push now-push before git pull and update --zsh-completion option 2011-10-21 00:27:40 +09:00
git-now-rebase create push subcommand and stat option for add subcommand 2011-10-18 01:24:16 +09:00
git-now.rb now-push before git pull and update --zsh-completion option 2011-10-21 00:27:40 +09:00
gitnow-common create push subcommand and stat option for add subcommand 2011-10-18 01:24:16 +09:00
gitnow-shFlags echo mode for debug 2011-09-03 21:24:58 +09:00
Makefile update Readme and Makefile 2011-10-18 08:22:42 +09:00
README.mdown add install option for zsh completion function 2011-10-20 18:00:35 +09:00

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 https://github.com/iwata/git-now/raw/master/git-now.rb

install options

  • use gnu-getopt

     $ brew install --gnu-getopt https://github.com/iwata/git-now/raw/master/git-now.rb
    
  • copy zsh completion function to fpath

     $ brew install --zsh-completion https://github.com/iwata/git-now/raw/master/git-now.rb
    

Manual installation

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

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

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