設定預設值
接下來,設定您的預設使用者名稱和電子郵件地址,以便 Git 可以識別提交更改的人。
此設定只需進行一次。
Git 主控台設置儲存在使用者家目錄下的.gitconfig
檔案中。您可以手動編輯該檔,但在本教程中我們將使用 git config 指令。
$ git config --global user.name ""
$ git config --global user.email ""
設定 Git 輸出顏色。
$ git config --global color.ui auto