What works for you when you use git on windows?

Hi,
I’m having bad times trying to just pull my fork on Windows. So far I
always
pulled from the Mac, and used a shared folder inside a Parallels VM to
run
what I needed. Now that I want to edit the IronRuby code under
VisualStudio,
Parallels is just too slow on my machine for that. I need to be able to
pull
from BootCamp directly.

So for those forking and patching on windows, what’s your current git
setup
? Do you use msysgit ? Passphrase or not ? Plink ?

Any idea of what is supposed to work will be helpful.

cheers,

– Thibaut

I use msysgit with openssl… that works properly for me.
The thing is that when the installer asks you how much it can mess with
your
system. that you choose the second option so you can use it with
powershell
or cmd

Met vriendelijke groeten - Best regards - Salutations
Ivan Porto C.
GSM: +32.486.787.582
Blog: http://flanders.co.nz
Twitter: http://twitter.com/casualjim
Author of IronRuby in Action (http://manning.com/carrero)

Sent from Antwerp, Flemish Region, Belgium

On Wed, Apr 15, 2009 at 12:14 PM, Thibaut Barrère
<[email protected]

Hi Ivan,

thanks - based on your input I could narrow the issue and managed to
pull the code out.

In case that’s useful to someone else: if you have accents in your
name and have trouble pulling from git, check out c:\documents and
settings - I had 3 folders instead of one here (“Barrère” and
corrupted versions).

The fix was to:

  • remove all duplicate folders
  • uninstall cygwin, tortoisegit and msysgit
  • reinstall msysgit
  • add the following line at the top of c:\program files\git\etc\profile
    export HOME=“/c/program files/git/home”
  • create the git/home folder
  • recreate the ssh key following github guidelines at
    Connecting to GitHub with SSH - GitHub Docs

cheers, thanks again,

– Thibaut

On Wed, Apr 15, 2009 at 12:44 PM, Ivan Porto C.

Hi Daniele,

thanks for the feedback!

cheers,

– Thibaut

Hi Thibaut,

I use msysgit 1.6.2 configured to run with openssl (plink gave me
problems in the past with msysgit < 1.6) and I choose “Run Git from
the windows command prompt” when asked for adjustments of the PATH.
Also, I choose “Commit line endings as they are” just to have control
of what and how I am committing.


Daniele A.
http://www.clorophilla.net/blog/
http://twitter.com/JoL1hAHN

On Wed, Apr 15, 2009 at 12:14, Thibaut Barrère