Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get Git 1.8 in Cygwin? [closed]

Tags:

git

cygwin

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?

like image 516
mnaoumov Avatar asked Jan 15 '13 02:01

mnaoumov


People also ask

Can you use Git on Cygwin?

Git can be installed in Cygwin along with it. When installing Cygwin it will ask some extra packages, there the Git option can be included.

How do I check my Git version?

Check your version of Git You can check your current version of Git by running the git --version command in a terminal (Linux, macOS) or command prompt (Windows).

How do I update my Git version?

Download the installation file from the Git website. Run the installation and follow the install wizard to update Git to the latest version. Note: Using the install wizard to update Git overwrites the current installation.

How do I know if Git is installed or not?

Open the command prompt "terminal" and type git version to verify Git was installed.


1 Answers

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.
like image 151
RedX Avatar answered Oct 01 '22 12:10

RedX