Git 安裝完之後調整一些小設定協助日常工作
直接在shell內執行即可
# 設定user name與email,以後下commit時Author information會套用這裡的設定值
git config --global user.name "Calos"
git config --global user.email "[email protected]"
# 讓git在顯示這四種指令的output時顯示顏色
git config --global color.diff auto
git config --global color.status auto
git config --global color.branch auto
git config --global color.log auto
Reference: Git 基礎設定 (帳號的環境參數設定) – Tsung’s Blog