(1)問題
(2)解決步驟
? ? ? ?1) 設置全局編碼為 UTF-8
? ? ? ??????????git config --global core.quotepath false
????????????????git config --global i18n.commitEncoding utf-8
????????????????git config --global i18n.logOutputEncoding utf-8
? ? ? ?2) 顯示或設置活動代碼頁的命令(這里可用可不用)?
???????????????chcp
? ? ? ?3) 在PowerShell中查看當前輸出編碼的變量
????????????????$OutputEncoding
? ? ? ? 4)在PowerShell中查看當前輸出編碼的變量
?????????????????[Console]::OutputEncoding = [System.Text.Encoding]::UTF8
? ? ? ? 5)修改最后一次提交信息
????????????????git commit --amend -m "modify: 調通課程審核接口"