# What works for you when you use git on windows?

**URL:** <https://www.ruby-forum.com/t/what-works-for-you-when-you-use-git-on-windows/165574>\
**Category:** IronRuby\
**Created:** [April 15, 2009, 12:36pm UTC](https://www.ruby-forum.com/t/what-works-for-you-when-you-use-git-on-windows/165574 "2009-04-15T12:36:36Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![thbar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/eb8c5e/32.png) [@thbar](https://www.ruby-forum.com/u/thbar)\
**Post date:** [April 15, 2009, 12:36pm UTC](https://www.ruby-forum.com/t/what-works-for-you-when-you-use-git-on-windows/165574/1 "2009-04-15T12:36:36Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![thbar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/eb8c5e/32.png) [@thbar](https://www.ruby-forum.com/u/thbar)\
**Post date:** [April 15, 2009, 12:47pm UTC](https://www.ruby-forum.com/t/what-works-for-you-when-you-use-git-on-windows/165574/2 "2009-04-15T12:47:09Z")

</div>

## 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](http://flanders.co.nz)  
Twitter: [http://twitter.com/casualjim](http://twitter.com/casualjim)  
Author of IronRuby in Action ([http://manning.com/carrero](http://manning.com/carrero))

Sent from Antwerp, Flemish Region, Belgium

On Wed, Apr 15, 2009 at 12:14 PM, Thibaut BarrÃ¨re  
\<removed\_email\_address@domain.invalid

---

<div class="post-metadata">

**Author:** ![thbar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/eb8c5e/32.png) [@thbar](https://www.ruby-forum.com/u/thbar)\
**Post date:** [April 15, 2009, 2:15pm UTC](https://www.ruby-forum.com/t/what-works-for-you-when-you-use-git-on-windows/165574/3 "2009-04-15T14:15:41Z")

</div>

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](http://github.com/guides/providing-your-ssh-key#msysGit)

cheers, thanks again,

– Thibaut

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

---

<div class="post-metadata">

**Author:** ![thbar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/eb8c5e/32.png) [@thbar](https://www.ruby-forum.com/u/thbar)\
**Post date:** [April 15, 2009, 3:19pm UTC](https://www.ruby-forum.com/t/what-works-for-you-when-you-use-git-on-windows/165574/4 "2009-04-15T15:19:57Z")

</div>

Hi Daniele,

thanks for the feedback!

cheers,

– Thibaut

---

<div class="post-metadata">

**Author:** ![thbar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/eb8c5e/32.png) [@thbar](https://www.ruby-forum.com/u/thbar)\
**Post date:** [April 15, 2009, 2:39pm UTC](https://www.ruby-forum.com/t/what-works-for-you-when-you-use-git-on-windows/165574/5 "2009-04-15T14:39:44Z")

</div>

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://www.clorophilla.net/blog/)  
[http://twitter.com/JoL1hAHN](http://twitter.com/JoL1hAHN)

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