iwata.git-now/README.mdown
Motonori Iwata bab7666666 1. shortオプションを廃止
2. --removeオプションを追加
 3. --remoteオプションを--upstreamオプションに変更

 1. rebaseをremoteにpushする時ってremote branchを削除しとかないと変なこ
 とになっちゃい場合があるのでそのオプション追加したいけど結構危い▽そ▼
 操作になるのでshortオプションは廃止。なのでgetopt enhanced環境でないと▽
 エラーが表示される。
 2. なのでremote削除用のオプションがこれ
 3. removeオプション作ったのでremoveオプションだと用途が不明すぎるので▽
 改名。
2011-09-07 17:31:13 +09:00

1.7 KiB

git-now

git-now is a command-line tool for light and temporary commit 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] [--]
          [<filepattern>...]

Subcommands

Available subcommands are:

  • rebase - rebase for temporary commits.
  • 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

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