사용자 도구

사이트 도구


git:tig

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판 이전 판
다음 판
이전 판
git:tig [2020/11/01 14:24]
kwon37xi
git:tig [2023/11/01 14:30] (현재)
kwon37xi
줄 1: 줄 1:
 ====== tig ====== ====== tig ======
   * https://jonas.github.io/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://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 를 보여준다.
 +<code>
 +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)\""
 +</code>
 +
 +===== 참조 =====
 +  * [[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 | 감성 프로그래밍]]
git/tig.1604208274.txt.gz · 마지막으로 수정됨: 2020/11/01 14:24 저자 kwon37xi