- 追加された行はこの色です。
- 削除された行はこの色です。
#author("2020-10-20T15:48:47+00:00","","")
#author("2020-10-21T10:55:25+00:00","","")
#topicpath
///////////////////////////////////////////////////////////////////////////////
* 目次 [#x963593f]
#contents();
///////////////////////////////////////////////////////////////////////////////
* tig [#kbdfa0b1]
- ncurses を用いたコンソール向け git クライアント。
- commit する際、対象をファイル単位ではなく、ファイルの行単位で指定することも可能。
///////////////////////////////////////////////////////////////////////////////
* コマンド [#z591fb3a]
|~category |~binding |~command |~description |~remark |
|~git command |s, S |git status | | |
|~| r |git branch | | |
|~| l |git log | | |
|~git command |s, S |git status |status view へ遷移 | |
|~| r |git branch |refs view へ遷移 | |
|~| l |git log |log view へ遷移 | |
|~| g |git grep | | |
|~| b |git blame | | |
|~| b |git blame |blame view へ遷移 | |
|~cursor |j |cursor DOWN | | |
|~| k |cursoe UP | | |
|~other |/ <word> |search |文字列を検索 | |
|~| q |exit screen |現在の画面を抜ける | |
|~| Q |exit tig |tig を終了する | |
|~| m |main view |main view を表示する | |
|~| t |tree |ディレクトリツリーを表示する | |
|~| t |tree |tree view へ遷移。ディレクトリツリーを表示する | |
|~| h |show help |help を表示する | |
** status view [#hfef9097]
|~binding |~command |~description |~remark |
|u |git add |ファイルを stage する | stage されてないファイルにカーソルがある時 |
|u |git reset |stage を取り消す |stage されたファイルにカーソルがある時 |
|c |git commit |commit sする | |
| | | | |
| | | | |
//=============================================================================
** diff [#idd2f07a]
///////////////////////////////////////////////////////////////////////////////
* link [#wfa05056]
- [[tigでgitをもっと便利に! addやcommitも - Qiita>https://qiita.com/suino/items/b0dae7e00bd7165f79ea]]
- [[tigの使い方とオプションをまとめた - iberianpigsty>https://iberianpig.github.io/posts/2016-04-22-tig%E3%82%92%E4%BD%BF%E3%81%86/]]