How to get Git 1.8 in Cygwin?

mnaoumov picture mnaoumov · Jan 15, 2013 · Viewed 15.8k times · Source

According to http://cygwin.com/packages/git/ the latest available Cygwin package is 1.7.9-1.

I would like to update git to at least 1.8.0.

Can I do this?

Answer

RedX picture RedX · Nov 19, 2013

cygwinports has many new versions of various tools

At the time i write this it has 1.8.3.4

New, simplified installation instructions:

  • Use the latest Cygwin installers (at least version 2.829): setup-x86.exe for 32-bit, or setup-x86_64.exe for 64-bit. (Note that many packages have not yet been ported to x86_64.)
  • Launch setup-*.exe with the -K flag, e.g.:

    cygstart -- /path/to/setup-x86.exe -K http://cygwinports.org/ports.gpg

  • On Choose Installation Type page, select "Install from Internet".

  • On Choose Download Site(s) page, select a distro mirror, then enter ftp://ftp.cygwinports.org/pub/cygwinports in the User URL field and press Add (making sure that both are highlighted).
    1. Alternatively, you can use a sourceware mirror, but if you do, you must use one hosted on a different server than your selected distro mirror.
  • Proceed with package selection and installation, making sure to install any indicated dependencies.