Skip to content

Instantly share code, notes, and snippets.

@nordineb
Last active October 9, 2017 10:24
Show Gist options
  • Save nordineb/0143008c28ca3cb38695f9638c48af87 to your computer and use it in GitHub Desktop.
Save nordineb/0143008c28ca3cb38695f9638c48af87 to your computer and use it in GitHub Desktop.
Speed up git on cygwin
mv /cygdrive/c/cygwin/bin/git.exe /cygdrive/c/cygwin/bin/git.cygwin.exe
ln -s /cygdrive/c/Program\ Files/Git/bin/git.exe /cygdrive/c/cygwin/bin/git.exe
@nordineb
Copy link
Author

nordineb commented Oct 9, 2017

  1. install https://git-for-windows.github.io/
time git status
On branch master
Your branch is up-to-date with 'origin/master'.
real    0m0.167s
user    0m0.000s
sys     0m0.015s
time git.cygwin.exe status
real    0m1.250s
user    0m0.592s
sys     0m1.499s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment