gpt4 book ai didi

visual-studio-code - 如何将 Git Bash 添加到 VsCode

转载 作者:行者123 更新时间:2023-12-04 08:22:25 30 4
gpt4 key购买 nike

最佳答案

  1. 确保你已经安装了Git for Windows

  2. 在 VS Code 中,使用 终端:选择默认配置文件终端:在旧版本中选择默认外壳 转到命令面板 (⇧⌘P),然后在本例中,在下拉列表中选择可用的 shell Git Bash

  3. 点击终端列表旁边的+号,如下所示: enter image description here

至此,应该成功添加了Git Bash。

附言。如果关闭 VS Code,该列表可能会消失。只会显示默认外壳。您必须再次执行上述步骤。

关于visual-studio-code - 如何将 Git Bash 添加到 VsCode,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/65438333/

30 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com