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

Re: getting git.exe for Android Studio on Windows

From
brian m. carlson <sandals@crustytoothpaste.net>
Date
May 21, 2021, 01:12 UTC
Message-ID
<YKcI8BGHBgkanYPk@camp.crustytoothpaste.net>
In-Reply-To
<773cf7ee-f897-a568-92be-9ee7c2813c3b@eqnet.hu>
On 2021-05-20 at 05:22:33, Somogyi Henrik wrote:
Show 15 quoted lines
> Hello Community,
> 
> I have just learnt, that I can dowload an Android app example from GitHub
> into my Android Studio.
> 
> But I do not have git.exe installed on my PC yet.
> 
> What shall I install on my PC to have this git.exe?
> 
> I wish to install only the bare minimum needed for downloading the example.
> I would like to avoid the install of a fully fledged Git with all the
> whistles and bells to have an own "github" on my PC.
> 
> I do not find this info on [Git - Downloads
> (git-scm.com)](https://git-scm.com/download)

Most people using Git on Windows use the standard Git for Windows edition. If you'd like a smaller one, the Git for Windows Portable option is also available, which can be run off a thumbdrive if you like.

Because Windows lacks a standard POSIX shell and POSIX utilities which Git requires to run, you need more than a single binary. Git invokes the shell when you spawn an editor and run certain types of aliases, among other activities, so a POSIX shell is absolutely required for Git to have normal functionality.

Even on Unix, a reasonably functional Git installation requires additional binaries, such as the HTTP helper, so having only the single binary would result in substantially reduced functionality, and I'm not aware of anyone shipping such a configuration.

-- 
brian m. carlson (he/him or they/them)
Houston, Texas, US
Previous: Somogyi HenrikNext: brian m. carlson
Message 2 of 4 in “getting git.exe for Android Studio on Windows”
  1. Somogyi HenrikMay 20, 2021
  2. brian m. carlsonMay 21, 2021
  3. brian m. carlsonJun 2, 2021
  4. Johannes SchindelinJun 2, 2021

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.