首页 > 其他分享 >[vscode] 如何在终端添加git bash?

[vscode] 如何在终端添加git bash?

时间:2022-10-31 23:02:27浏览次数:50  
标签:Git exe vscode terminal git integrated bash


设置-搜索"terminal.integrated.profiles.windows"

[vscode] 如何在终端添加git bash?_ico


将以下内容复制进入,注意要修改git bash实际路径

{
"terminal.integrated.profiles.windows": {
"PowerShell": {
"source": "PowerShell",
"icon": "terminal-powershell"
},
"Command Prompt": {
"path": [
"${env:windir}\\Sysnative\\cmd.exe",
"${env:windir}\\System32\\cmd.exe"
],
"args": [],
"icon": "terminal-cmd"
},
"Git-Bash": {
"path": "D:\\Git\\bin\\bash.exe"
}
},
"terminal.integrated.automationShell.windows": "D:\\Git\\bin\\bash.exe",
"git.path": "‪D:\\Git\\bin\\git.exe",
"terminal.integrated.defaultProfile.windows": "Git-Bash",
}

成品如下:

[vscode] 如何在终端添加git bash?_bash_02


[vscode] 如何在终端添加git bash?_git_03


标签:Git,exe,vscode,terminal,git,integrated,bash
From: https://blog.51cto.com/xuejianqiang/5811366

相关文章

  • [VScode] 常用设置以及常用操作
    常用快捷键:Ctrl+P:搜索打开文件Ctrl+`:快速打开关闭终端.Ctrl+T:全局字符搜索Ctrl+Shift+O:在当前文件中搜索变量函数Alt+O:切换源头文件Ctrl+......
  • [VScode] 嵌入式软件开发必备插件
    C/C++c/c++智能提示、调试和代码浏览C++Intellisense借助GNUGlobal标签的c/c++智能提示BracketPairColorizer一个可定制的扩展为匹配括号着色Chinese(Simplified)......
  • git的介绍和使用
    git介绍什么是gitgit是一种版本控制器-控制的对象是开发的项目代码什么是版本控制器完成协同开发项目,帮助程序员整合代码 i)帮助开发者合并开发的代码 ii)如果出现......
  • GIT入门与Gitee的使用
    一:Git是什么?Git是目前世界上最先进的分布式版本控制系统。工作原理/流程: Workspace:工作区Index/Stage:暂存区Repository:仓库区(或本地仓库)Remote:远程仓库(比如Githu......
  • Go开发 之 Go如何引用github包
    Go如何引用github包​​Linux上如何引用​​​​如果定义了环境变量​​​​进入正题​​​​①、创建引用目录​​​​②、拷贝源码​​​​③、引用​​​​Windows上如何......
  • Git
    Git一、两种方式通过命令窗口本地和远程建立两种方式:remote......本地创建文件夹,gitclonehttps://gitee.com/XXX本地进行文件编写,编写成功后提交gi......
  • git pull提示当前branch没有跟踪信息 There is no tracking information for the cur
    gitpull提示当前branch没有跟踪信息Thereisnotrackinginformationforthecurrentbranch使用第二种方法,设置本地repository和远程repository关联在执行git......
  • git pull报错:There is no tracking information for the current branch
    gitpull报错:Thereisnotrackinginformationforthecurrentbranch报错:Thereisnotrackinginformationforthecurrentbranch.Pleasespecifywhichb......
  • 【 云原生 | kubernetes 】- Argo CD Gitlab身份验证及SSO单点登录
    :zap:前言:了解OAuth协议。OAuth是一种授权协议,它可以用来保证第三方只有当获得授权的时候,才能访问授权者的权限我们之前文章已经大概了解了ArgoCD的作用和一些用法。在......
  • Coding上创建项目、将IDEA中的代码提交到Coding上的代码仓库、Git的下载、IDEA上配置G
    一、Git的安装以及子啊IDEA上配置Git(下载好的可以跳过)git官网:https://git-scm.com/参考这位博主的git下载教程。也是很详细()https://blog.csdn.net/orange228/article/det......