git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johannes Schindelin <johannes.schindelin@gmx.de>
To: Thomas Ferris Nicolaisen <tfnico@gmail.com>
Cc: "Knobbe, Fabian" <Fabian.Knobbe@landisgyr.com>, git@vger.kernel.org
Subject: Re: automatic git installation
Date: Wed, 13 May 2015 10:43:32 +0200	[thread overview]
Message-ID: <b70c62b621a8288039627d4911da5af9@www.dscho.org> (raw)
In-Reply-To: <CAEcj5uXSTu+eqX3O0ecb1JnQQfjEYb38TfYhF9tUOmNV8hZCTw@mail.gmail.com>

Hi Thomas,

On 2015-05-12 21:30, Thomas Ferris Nicolaisen wrote:
> On Tue, May 12, 2015 at 10:50 AM, Knobbe, Fabian
> <Fabian.Knobbe@landisgyr.com> wrote:
>>
>> Hallo,
>>
>> I would like to automatically install git with a script. I already found some command line arguments to pass my settings to the setup routine, but I still don't know how to set "Adjust your PATH environment" to "Use Git from the Windows Command Prompt" without userinteraction.
>>
>> Thanks for any hints!
> 
> Have you looked at Chocolatey? It's a Windows-based package manager
> that lets you install software like Git in one command [1].
> 
> [1] https://chocolatey.org/packages?q=git

Good point. Please note that Chocolatey essentially takes our portable Git and repackages it.

As for proper package management, the Git SDK is based on MSys2 which sports the Pacman package manager ported from Arch Linux. Git for Windows is also available via a "Pacman" repository, and our installer essentially takes the contents of up-to-date packages and bundles them in an installer.

Ciao,
Dscho

      reply	other threads:[~2015-05-13  8:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-12  8:50 automatic git installation Knobbe, Fabian
2015-05-12 15:10 ` Johannes Schindelin
2015-05-12 19:30 ` Thomas Ferris Nicolaisen
2015-05-13  8:43   ` Johannes Schindelin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b70c62b621a8288039627d4911da5af9@www.dscho.org \
    --to=johannes.schindelin@gmx.de \
    --cc=Fabian.Knobbe@landisgyr.com \
    --cc=git@vger.kernel.org \
    --cc=tfnico@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).