Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to upgrade git #1570

Closed
PrasanthiUma opened this issue Nov 29, 2017 · 9 comments
Closed

how to upgrade git #1570

PrasanthiUma opened this issue Nov 29, 2017 · 9 comments

Comments

@PrasanthiUma
Copy link

No description provided.

@ryanmcdonnell
Copy link

  1. Install the latest version of Git for Windows
  2. Create a new environment variable GIT_INSTALL_ROOT pointed at the installation folder of Git for Windows e.g. C:\Program Files\Git for the 64-bit flavor.
  3. Open cmder and run git --version to confirm the latest version is installed.

@kalvn
Copy link

kalvn commented Jun 20, 2018

If you want to keep it in cmder folder:

  1. Rename C:\path\to\cmder\vendor\git-for-windows into C:\path\to\cmder\vendor\git-for-windows.old
  2. Download the last portable version of Git for Windows with the last link on this page Git for Windows Portable ("thumbdrive edition")
  3. Extract it in C:\path\to\cmder\vendor\git-for-windows

@daxgames
Copy link
Member

Kind of but not really. Cmder adds some configuration to the /etc/profile.d folder inside git-for-windows. To upgrade and maintain all functionality you need to add that configuration back to that location

@kalvn
Copy link

kalvn commented Jul 2, 2018

Good point @daxgames thanks :)

@Stanzilla
Copy link
Member

Type git update-git-for-windows

@GlassGruber
Copy link

Hi sorry for bumping again, is there anything like git update-git-for-windows but for portable version? AFAICT this install the full version of Git on the system, not in the cmder/vendor folder.

@daxgames
Copy link
Member

daxgames commented Jan 13, 2019

Delete vendor/git-for-windows, Download the portable version and expand it to vendor/git-for-windows.

@GlassGruber
Copy link

@daxgames Thank you for your answer, I thought so, but I'am very lazy and hoped for a nice little command as this one ;)

@daxgames
Copy link
Member

There is another way but it's more effort.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants