I am using git in mac. I am trying to have the autocomplete feature. I followed these steps (http://www.codethatmatters.com/2010/01/git-autocomplete-in-mac-os-x/) but I get this
The git-completion.bash distributed is a Windows file with "\n\r" as a newline. You need to remove the '\r'.
For vim users, just do ":set ff=unix".