Transparent Git to the Bash on Windows.
It lets you use the git installed on bash on windows as native windows git, without installing git again with silly mingw ssh tools.
Because it uses raw argument as string by bat file(%*), you don't need any quote/doublequote brackets for command-argument list.
So you do use commands directly with any brackets you need to use as if it's an windows command.
- golang
- Because it produces binary without installing entire visual studio monster.
Run install.bat as administrator privilege.
Installation script will ask for some options.
You can use ssh-agent with simple modification in install.bat. Also, check the note below.
- To use
gcc.bat, dosudo apt install gcc-mingw-w64-x86-64in ubuntu first.install.batasks if you want it installed.
Run following script into powershell or bash. You can simply run install-ssh-agent.ps1 instead.
bash -c 'cat<<''EOF''>~/.init-ssh-agent
#!/usr/bin/env bash
if [[ \$(pgrep ssh-agent) = \"\" ]]
then eval \`ssh-agent > ~/.ssh/ssh-agent.sh\`
source ~/.ssh/ssh-agent.sh
for KEY in \`ls ~/.ssh/*.pub | sed s/\.pub//\`
do ssh-add \$KEY
done
else
source ~/.ssh/ssh-agent.sh > /dev/null
fi
EOF
chmod +x ~/.init-ssh-agent'
Line below is the content to be placed in ~/.bashrc or ~/.zshrc
. ~/.init-ssh-agent
For example of bashrc,
bash -c 'echo . \~/.init-ssh-agent >> ~/.bashrc'
To use piping, do it like bbash 'echo 1 > _tmp' or bbash "echo 1 > _tmp" which is composed of bbash and only one argument wrapped with quotes.
Piping directly from windows to ubuntu is available since bd5aa169fc075a69a7a74a45959edcb2219f606a
- live standard stream support for apps like
ssh - git
- git commit/push
- git clone to windows directory and path
- GCC build test
- Plug on neovim on windows
- PlugInstall
- Golang
- git related get/install
- gcc related build (cgo)
- Xming
- ssh.exe replacement for remote X11 forwarding