News for hackers. Stuff that matters.
Re:Ask HN: How is Git on Windows today? by barrydahlberg on Thursday October 28, 2010 @10:20PM (#1845776)
I use msysgit daily on Windows 7 against a github account. For the most part things work fine but there are a few things that annoy me:

- Disagreements about case insensitive paths sometimes confuse git. Renaming a folder simply to change its case is the most common one that catches me.

- I run everything through the bash shell which works fine but is a pain to connect to Windows batch files. This makes automation harder than required.

- Line endings... I just turn off any automatic conversion and use a decent editor that doesn't mind.

I initially used the GUI that comes with it and that works fine but I find the command line faster to work with. The advantages of git make the above problems worth it to work around for me.

I don't run my own server so can't comment on that. From what I have read linux setup would be much easier to do.

Re:Ask HN: How is Git on Windows today? by tomfakes on Thursday October 28, 2010 @10:58PM (#1845894)
I've used Git on Windows for over a year. msysgit is great, once you've worked out the line endings (the installation asks you for this setting)

Using the windows CMD shell works fine.

Git comes with its own SSH that works different to other SSH implementations. I've had problems where Git is earlier in the path, so its SSH was overriding the one I wanted. This broke cwRsync until I worked it out.

Re:Ask HN: How is Git on Windows today? by barrydahlberg on Thursday October 28, 2010 @11:06PM (#1845926)
This is why I only use it through the bash shell, so it can't mess with anything else. Inconvenient though.
Re:Ask HN: How is Git on Windows today? by jcsalterego on Thursday October 28, 2010 @10:30PM (#1845814)
> - I run everything through the bash shell which works fine but is a pain to connect to Windows batch files. This makes automation harder than required.

What are you using bash or batch files for? Have you tried PowerShell as a replacement for batch files?

Re:Ask HN: How is Git on Windows today? by barrydahlberg on Thursday October 28, 2010 @11:05PM (#1845920)
My scripts are mostly trivial so far. PowerShell is awesome but it's another thing I haven't had time to learn enough about to use effectively.

I actually have a C# console app as my build script because I can write things there so much faster than anywhere else. It makes calls to Windows and the occasional batch / bash script.

Re:Ask HN: How is Git on Windows today? by jcsalterego on Thursday October 28, 2010 @11:34PM (#1846006)
The built-in IDE for PowerShell 2.0 is pretty good from what I recall, but I tend to just stay with the good ole blue console.

`Get-Help` and `Get-Member` are great discovery tools -- pipe anything to it, or do `Get-Member -inputObject $foo` and get all its properties.

Re:Ask HN: How is Git on Windows today? by barrydahlberg on Thursday October 28, 2010 @10:23PM (#1845787)
I also don't use any kind of Visual Studio plugin for it sorry, I usually to find they don't handle things outside the solution structure very well.
Re:Ask HN: How is Git on Windows today? by kjhgfkjmhng on Thursday October 28, 2010 @10:36PM (#1845827)
Tortoise git is very usable, it's as good as tortoiseSVN for day-day use.

I don't bother with VS integration, I prefer to checkin the folder to make sure I get all the extra files that aren't shown in VS