Skip to content

Instantly share code, notes, and snippets.

@arijusg
Last active June 2, 2017 12:49
Show Gist options
  • Select an option

  • Save arijusg/71762c046d7ac0d3af93efcfacbc53cb to your computer and use it in GitHub Desktop.

Select an option

Save arijusg/71762c046d7ac0d3af93efcfacbc53cb to your computer and use it in GitHub Desktop.
Run Windows gitk via bash

Windows 10 bash gitk routing

mkdir ~/bin && \
touch ~/bin/gitk && \
chmod +x ~/bin/gitk && \
echo '#!/bin/bash' > ~/bin/gitk && \
echo "/mnt/c/'Program Files'/Git/cmd/gitk.exe" >> ~/bin/gitk && \
echo 'export PATH=$PATH":$HOME/bin"' >> ~/.bashrc && . ~/.bashrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment