how to use github with mingw git

So…you’ll need to create a private/public key, upload appropriately to github, then…

copy your private key to %HOME%/.ssh # for me it’s c:\documents and settings\random user

so it’ll be something like the file called ‘identity’ within that directory

and you’re good to go

[note that it'll be in unix format, not putty style private keys--you can convert between the two]

3 thoughts on “how to use github with mingw git

  1. luis lavena also noted:

    msysgit + pageant for your keys and ensure GIT_SSH is set and point to
    the full path of plink.exe (e.g. C:\Program Files\PuTTY\plink.exe)

    or you can generate a pair of keys with ssh-keygen inside the bash
    environment of msysGit and use ssh.

  2. Note that currently with mingw git you’ll want to change it to not use windows style line endings [silly default]–otherwise after cloning you’ll immediatley have files that are modified!
    This might work:

    git config –global core.autocrlf false

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>