tig使用筆記
PageView 87
tig 是個ncurses-based text-mode的git界面,簡化git的操作流程不用打一長串的指令:)
tigrc
在
status view時刪掉某檔案
1
bind status D !?@rm %(file)
!
:使用external commandrm
?
:asks for confirmation, like “Are you sure you want to delete file? [YyNn]”@
:prevents tig to display the command output, making things more integrated.
在尚未有commit的repository啟動tig
在剛執行完git init
的資料夾中執行tig
會顯示以下錯誤
1 | tig: No revisions match the given arguments. |