Install git on windows and use it in cygwin

You have two options when install git:
  1. Install mysisgit https://code.google.com/p/msysgit/downloads/list
  2. Install git from cygwin
  • Recommendation is to use option 1, because by that you always get the latest git version. 
  • After install mysisgit on your windows machine, you should add git_install_folder/bin/ to your path environment variable so that cygwin can find it.
  • Add the following configuration settings from cygwin:
    • git config --global core.askpass "git-gui–-askpass"
    • git config --global credential.helper store
    • git config --global core.eol lf
    • git config --global core.autocrlf false
    • git config --global core.filemode false // ignore file mode(chmod) change in git




评论

此博客中的热门博文

AVR Tutorial - Input / Output

AVR ADC Analog to Digital Converter

Introduction to REST