3 ms·
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 c
by barrydahlberg 16y ago
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.
- barrydahlberg 16y agoI 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.
- kjhgfkjmhng 16y agoTortoise 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
- jcsalterego 16y ago> - 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?
- barrydahlberg 16y agoMy 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.
- jcsalterego 16y agoThe 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.
- tomfakes 16y agoI'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.
- barrydahlberg 16y agoThis is why I only use it through the bash shell, so it can't mess with anything else. Inconvenient though.