Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
別のブランチで tig を開いた場合:
tig otherBranch
ツリー ビューに移動して必要なファイルを見つけ、それを現在のブランチにチェックアウトすることはできますか?
はい、 にユーザー定義コマンドを追加する必要があります~/.tigrc。たとえば、次のようになります。
~/.tigrc
bind generic ^F !?git checkout %(commit) %(file)
次に を開きtig otherBranch、 を押しtてツリー ビューに移動し、ファイルに移動して を押しCtrl-Fます。
t
Ctrl-F