How to add Git Bash into Windows Terminal
- Terminal, press
CTRL+,
to start editing “settings.json”
{
"profiles": {
"list": [
{
"guid": "{f9c3b687-50b7-4b13-b312-c28e955ed7d3}",
"hidden": false,
"name": "Git Bash",
"commandline": "S:/app/Git/usr/bin/bash.exe -i -l",
"startingDirectory": "W:/work",
"icon": "S:/app/Git/mingw64/share/git/git-for-windows.ico",
"snapOnInput": true,
"closeOnExit": true,
"colorScheme": "GitBash",
"fontFace": "Consolas",
"fontSize": 14
}
]
}
}
- After this, add a custom color scheme named “GitBash”
"schemes": [
{
"name": "GitBash",
"background": "#FFFFF0",
"foreground": "#404040",
"black": "#0C0C0C",
"blue": "#6060ff",
"brightBlack": "#767676",
"brightBlue": "#3B78FF",
"brightCyan": "#61D6D6",
"brightGreen": "#16C60C",
"brightPurple": "#B4009E",
"brightRed": "#E74856",
"brightWhite": "#F2F2F2",
"brightYellow": "#F9F1A5",
"cyan": "#3A96DD",
"green": "#00a400",
"purple": "#bf00bf",
"red": "#bf0000",
"white": "#ffffff",
"yellow": "#bfbf00",
"grey": "#bfbfbf"
}
],
REFERENCES
https://stackoverflow.com/questions/56839307/adding-git-bash-to-the-new-windows-terminal