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

Re: newbie question - how to upgrade older existing git version 2.9.3.windows.1 to latest release

From
Abhishek Kumar <abhishekkumar8222@gmail.com>
Date
May 6, 2020, 03:59 UTC
Message-ID
<20200506035928.GA5115@Abhishek-Arch>
In-Reply-To
<CAAULzeKqsx=ajDQ3y7F=UXUok1ep9PFkEeh0ZL34+765WQ9xvg@mail.gmail.com>
Hello!
On Wed, May 06, 2020 at 02:51:06PM +1200, Anthony Byrnes wrote:
Show 8 quoted lines
> hi,
> 
> I have a working git version 2.9.3.windows.1 on a build server.
> 
> What is the correct/recommended way to upgrade to latest release
> without breaking any git settings?
> I am very scared of breaking any settings ....
> 

From the Git for Windows FAQ [1]: --- How do I update Git for Windows upon new releases?

This depends on how you installed Git for Windows. The bundle installation requires you to download and install the new version. Any customizations you made will be kept as long as you did so in the appropriate configuration folders.

For advanced users working with the Git for Windows SDK pacman is available as a package manager. See Package management ---

In principle, you could uninstall Git for Windows and re-install it with the bundler [2] and your git settings should be safe.

[1]: https://github.com/git-for-windows/git/wiki/FAQ#how-do-i-update-git-for-windows-upon-new-releases [2]: https://git-scm.com/download/win

Show 9 quoted lines
> Git downloads page implies this might work, but I am unsure as to what
> this does....
> 
> 
> Git via Git
> If you already have Git installed, you can get the latest development
> version via Git itself:
> git clone https://github.com/git/git
> 

This installs the *development* version of Git. It's primarily intended for developers who want to contribute to Git (either through writing code, documentation, testing, packaging, etc).

As you use Git as an end user, I would recommend installing through the bundler.

> 
> -- 
> Hello World

Regards Abhishek

Previous: Anthony Byrnes
Message 2 of 2 in “newbie question - how to upgrade older existing git version 2.9.3.windows.1 to latest release”
  1. Anthony ByrnesMay 6, 2020
  2. Abhishek KumarMay 6, 2020

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.