git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: automatic git installation

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
May 13, 2015, 08:43 UTC
Message-ID
<b70c62b621a8288039627d4911da5af9@www.dscho.org>
In-Reply-To
<CAEcj5uXSTu+eqX3O0ecb1JnQQfjEYb38TfYhF9tUOmNV8hZCTw@mail.gmail.com>
Hi Thomas,
On 2015-05-12 21:30, Thomas Ferris Nicolaisen wrote:
Show 13 quoted lines
> 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

Previous: Thomas Ferris Nicolaisen
Message 4 of 4 in “automatic git installation”
  1. Knobbe, FabianMay 12, 2015
  2. Johannes SchindelinMay 12, 2015
  3. Thomas Ferris NicolaisenMay 12, 2015
  4. Johannes SchindelinMay 13, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.