Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
I have never actually worked with
What are the limitations?
I would highly appreciate any help on this topic!
On Windows 10 using Windows Subsystem for Linux (Beta) (Based on Ubuntu 14.04) git-secret worked out of the box 100% test pass after installing git and build-essential.
I'll try in Windows 7 VM using mingw tomorrow. http://www.mingw.org/
I had no problem running the tests on cygwin.
Had bats installed and recognized in path.
OS: Windows 10
For me, all commands works with just adding below lines in src/_utils/_git_secret_tools.sh for Git Bash (MINGW - Msys) on Windows 10:
GPG version: gpg (GnuPG) 1.4.21
Will it possible a add above small change atleast to support Git Bash?
Sure! I'm running Windows 10 Fall Creator's Update, which is build 16299, the latest one available at the time I'm writing this unless you're in the Windows beta program.
My dev environment uses a real unix bash (actually zsh) thanks to the "Windows Subsystem for Linux". WSL has had a couple different names while it was in beta, but it seems like everyone has settled on calling it WSL or Windows Subsystem for Linux. You can install it on Windows 10 by downloading the Ubuntu app from the Windows Store. This app gives us developers on Windows access to real bash, including
So to use git-secret, all I had to do was open that Ubuntu app which launches the bash shell, and follow the git-secret instructions for installing the
I'm pretty sure this will work on older versions of Windows 10 too as the WSL has been available for over a year now on several different versions of Windows 10. WSL is not available on Windows 8 or Windows 7 though.