Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/git/git-scm.com.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmandeep Singh <35252877+adsingh14@users.noreply.github.com>2021-12-14 00:00:21 +0300
committerAmandeep Singh <35252877+adsingh14@users.noreply.github.com>2021-12-14 22:47:54 +0300
commitc648473f8d916d022b6efe7dddb03155a7a2351c (patch)
treec951dc7695c2961fed20ac7d9d588067aba3d4ea
parentfcf5b8bcb7fad9a7e277739473925b4b26de9ec5 (diff)
Git for Windows via winget
-rw-r--r--app/views/downloads/download_windows.html.erb13
1 files changed, 9 insertions, 4 deletions
diff --git a/app/views/downloads/download_windows.html.erb b/app/views/downloads/download_windows.html.erb
index 548e560c..3d2232e4 100644
--- a/app/views/downloads/download_windows.html.erb
+++ b/app/views/downloads/download_windows.html.erb
@@ -17,20 +17,25 @@
<%= raw "<strong><a id=\"auto-download-link\" href=\"#{@download.url}\">Click here to download manually</a><span class=\"hide\">, if your download hasn't started.</span></strong>" %>
</p>
<h3>Other Git for Windows downloads</h3>
- <h4>Git for Windows Setup</h4>
+ <h4>Executable Setup</h4>
<p>
- <%= raw "<strong><a href=\"#{@download32.url}\">32-bit Git for Windows Setup</a>.</strong>" %>
+ <%= raw "<strong><a href=\"#{@download32.url}\">32-bit Git for Windows Setup</a>.</strong>" %>
</p>
<p>
- <%= raw "<strong><a href=\"#{@download64.url}\">64-bit Git for Windows Setup</a>.</strong>" %>
+ <%= raw "<strong><a href=\"#{@download64.url}\">64-bit Git for Windows Setup</a>.</strong>" %>
</p>
- <h4>Git for Windows Portable ("thumbdrive edition")</h4>
+ <h4>Portable ("thumbdrive edition")</h4>
<p>
<%= raw "<strong><a href=\"#{@download32portable.url}\">32-bit Git for Windows Portable</a>.</strong>" %>
</p>
<p>
<%= raw "<strong><a href=\"#{@download64portable.url}\">64-bit Git for Windows Portable</a>.</strong>" %>
</p>
+ <h4>Using winget tool</h4>
+ <p>
+ Install <a href="https://docs.microsoft.com/en-us/windows/package-manager/winget">winget tool</a> if you don't already have it, then type this command in command prompt or Powershell.<br>
+ <code>winget install --id Git.Git -e --source winget</code>
+ </p>
<p class="small">
<%= raw "The current source code release is version <strong>#{@latest.name}</strong>. If you want the newer version, you can build it from <a href=\"#{@source_url}\">the source code</a>." %>
</p>