首页 > 解决方案 > 在 Linux 存储库上通过 WSL 使 GitHub Desktop 工作

问题描述

我正在使用 Windows 使用 WSL 进行一些 Linux 开发。

当我将 Linux 存储库添加到 GitHub 时,它会识别它们,但会混淆 Linux 和 Windows 之间的文件名和行结尾。

这不会发生在里面的终端工具上git > Ubuntu > WSL,但会发生在git > Windows.

有没有办法在 WSL 中的 Ubuntu 上运行 GitHub Desktop 的 GUI,或者让 Windows 版本通过 WSL 运行其内部 git 命令bash?也许是 Windows 中的 git 配置使其支持 Linux?

标签: githubwindows-subsystem-for-linuxgithub-desktop

解决方案


推荐阅读