cheatsheet/tig
Posted: | Categories: cheatsheet | Tags: cheatsheet, tig
普段の作業 s で status に移動 [ Changes not staged for commit: ]にあるファイルをエンターで選択 反映したいコミットの上で u で選択。あるいは 1 で 1 行だけ選択、 q を押して status に戻り、 C (shift + c, 大文字) でコミットする 概要 キー ビュー名 説明 m main デフォルトのビュー。いわゆる git tree s status u で git add。 c でコミットメッセージ r refs branch, tag 一覧 l log git log t tree ディレクトリツリー g grep git grep b blame git blame h help tig のキーバインド一覧 d diff 差分 diffを見たい チェックアウト r(リポジトリ一覧) -> ブランチに上下移動 -> c Read more...