Windows Terminal - Display the GIT status
Posted on 2020-12-09
        
        Recently, Microsoft released a page that explains how to customize Windows Terminal to colour and display GIT status.

The steps necessary to customize Windows Terminal are:
- 
    This display requires the use of Powerline glyphs. Without this font, you will see a square instead of the appropriate symbols. You can download and install these Cascadia Code Fonts (extract ZIP and right-click on the TTF files).  
- 
    Install Windows Git (if not yet installed). 
- Install Posh-Git and Oh-My-Posh in PowerShell.
    Install-Module posh-git -Scope CurrentUser Install-Module oh-my-posh -Scope CurrentUser 
- Modify the PowerShell console boot script: notepad $PROFILE. This command opens the notepad in your C:[User]\Documents\WindowsPowerShell folder.Import-Module posh-git Import-Module oh-my-posh Set-Theme Paradox 
- 
    Use the font Cascadia Code PL, in your Windows Terminal configuration: menu Settings and search Windows PowerShell. { "name": "Windows PowerShell", "commandline": "powershell.exe", "fontFace": "Cascadia Code PL", },
Restart your Windows Terminal and navigate to your Git folders.






