git log 亂碼
This commit is contained in:
21
log_utf8.md
Normal file
21
log_utf8.md
Normal file
@@ -0,0 +1,21 @@
|
||||
### git log 亂碼
|
||||
|
||||

|
||||
|
||||
#### 解決方法
|
||||
設定環境變數 LC_ALL=C.UTF-8
|
||||
|
||||
Command Prompt
|
||||
```cmd
|
||||
set LC_ALL=C.UTF-8
|
||||
```
|
||||
|
||||
Powershell
|
||||
```powershell
|
||||
$env:LC_ALL=C.UTF-8
|
||||
```
|
||||
|
||||

|
||||
|
||||
#### 永久有效設定
|
||||

|
||||
Reference in New Issue
Block a user