Here I am compiling information as a windows user that I needed or should have known while working with Git.
- CRLF Issues
Git by default uses binary mode to transfer files. On windows to prevent line break issues the option “core.autocrlf” can be used to convert CR+LF to LF automatically.ex. git config core.autocrlf=true Information on this option can be found at http://www.kernel.org/pub/software/scm/git/docs/git-config.html
- Using Github
To use Github from Windows you need to make sure you are using the most recent version of Git. This tripped me up before because whatever version I had did not have the ssh-keygen command.This guide page will help you http://github.com/guides/using-git-and-github-for-the-windows-for-newbies
I still have issues trying to push using Git to a network server, as does a Mac using coworker. I think there is some configuration issue or Git just doesn’t work well across networks.