Quantcast
Channel: How to add more commands to Git Bash? - Super User
Viewing all articles
Browse latest Browse all 13

Answer by koppor for How to add more commands to Git Bash?

$
0
0

With recent Git for Windows installations, installing additional shell scripts and programs is pretty easy.

Simply put the executables into C:\Program Files\Git\usr\bin (%ProgramFiles%\Git\usr\bin).

I recommend installing git using chocolateychoco install git --params "/GitAndUnixToolsOnPath /WindowsTerminal", because you can update git (and all other tools installed with chocolatey) by executing choco upgrade all.

Example for git-fresh

Copy the file git-fresh to C:\Program Files\Git\usr\bin.

Example for adr-tools

  1. Download a zip package from the releases page
  2. Unzip the package
  3. Copy everything from src/ into C:\Program Files\Git\usr\bin

Viewing all articles
Browse latest Browse all 13

Trending Articles