====== tig ====== * https://jonas.github.io/tig/ * [[https://jonas.github.io/tig/doc/tigrc.5.html|tigrc(5) · Tig - Text-mode interface for Git]] * [[https://jonas.github.io/tig/doc/manual.html|Manual · Tig - Text-mode interface for Git]] * [[https://ujuc.github.io/2016/02/10/tig-manual/|[번역] Tig Manual]] * [[https://devhints.io/tig|tig cheatsheet]] * see [[git:gitui|gitui]] * see [[git:lazygit|lazygit]] ===== 설정 ===== * [[https://github.com/jonas/tig/blob/master/tigrc|tig/tigrc 예시]] ''~/.tigrc''로 복사한다. * [[https://github.com/jonas/tig/issues/484|Feature Request: File history view · Issue #484 · jonas/tig]] 파일 히스토리/상태 뷰 전환 단축키 * commit 의 diff 를 보다가 파일 이름 부분에서 ''H''를 누르면 해당 파일의 commit history 를 보여준다. * status view, tree view 에서 파일을 선택하고 ''H''를 누르면 해당 파일의 commit history 를 보여준다. bind diff H !sh -c "tig \"$(git rev-parse --show-toplevel)/%(file)\"" bind status H !sh -c "tig \"$(git rev-parse --show-toplevel)/%(file)\"" bind tree H >sh -c "tig \"$(git rev-parse --show-toplevel)/%(file)\"" ===== 참조 ===== * [[https://www.youtube.com/watch?v=z0mb0NteYjg|Tig: Git Interface That Actually Does Everything?? - YouTube]] * [[https://opensource.com/article/19/6/what-tig|How to use Tig to browse Git logs]] * [[https://programmingsummaries.tistory.com/390|[Git] 텍스트 기반 Git 유저 인터페이스, Tig | 감성 프로그래밍]]