如何更改 Git config 的編輯器

執行 git config -e,預設是打開 GNU Nano 編輯器,不過操作上不太順手,可以更改設定,改為自己喜歡的編輯器:

$: git config core.editor <editor name>

編輯器可以是任意的,環境變數中找得到的,如果沒有就要自己加進去。

留言

這個網誌中的熱門文章

Heroku + Bootstrappers 快速佈署

php/symfony - 在 ubuntu 執行 composer install 出現 "ext-curl *", "ext-gd *", "lib-icu" 的相依錯誤訊息

Git - 同時 push 到多個 remote