[Git] 在Teminal中展示出log的樹狀圖

習慣用CLI操作Git後,就不會想裝Git的GUI擴充,但還是會覺得能以樹狀圖來看Log會很方便。
  1. 同樣是使用git log指令,但需加上一些參數達到這個效果
    user@pc:~$ git log --oneline --graph --all
    * baf420b (HEAD -> feat-fill-up) Text to speech
    * a06c9c8 Display the fuel prompt
    | * 5d04f92 (origin-github/feat, feat) renew API
    |/  
    * 19b0257 Rename the variables' name
    * 41992f1 renew API(communicates with golang API)
    

留言

這個網誌中的熱門文章

[Hyper-V] 讓 Windows 可以吃到超過 16TB 的硬碟!