windows10 wsl ubuntu22.04 goland git报错解决
Cannot check the working tree for unmerged files because of an error. your 131072x1 screen size is bogus. expect trouble your 131072x1 screen size is bogus. expect trouble not a git repository (or any of the parent directories): .git
# 进入wsl ubuntu
# 编辑/etc/bash.bashrc文件
# 注释掉行:
source /usr/sbin/start-systemd-namespace
# 结果如下:
# System-wide .bashrc file for interactive bash(1) shells.
# Start or enter a PID namespace in WSL2
# source /usr/sbin/start-systemd-namespace
参考:PhpStorm 2023.2 - WSL - Git: your 131072x1 screen size is bogus. expect trouble