You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
install-inside-msys2-proper: adjust the Pacman repository URLs
Git for Windows switched to the new Pacman repository (which is no
longer backed by Azure Blobs, but instead by a GitHub repository) a long
time ago.
It's high time that this page followed suite.
Signed-off-by: Johannes Schindelin <[email protected]>
Copy file name to clipboardExpand all lines: content/install-inside-msys2-proper.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,19 +17,19 @@ Here are the steps to install the 64-bit version of Git for Windows to be run in
17
17
1. Edit `/etc/pacman.conf` and add the Git for Windows package repositories above any others (i.e. just before `[mingw32]` on line #71 as of this writing):
18
18
19
19
```
20
-
[git-for-windows]
21
-
Server = https://wingit.blob.core.windows.net/x86-64
20
+
[git-for-windows-x86_64]
21
+
Server = https://raw.githubusercontent.com/git-for-windows/pacman-repo/refs/heads/x86_64
22
22
23
23
[git-for-windows-mingw32]
24
-
Server = https://wingit.blob.core.windows.net/i686
24
+
Server = https://raw.githubusercontent.com/git-for-windows/pacman-repo/refs/heads/i686
25
25
```
26
26
27
27
(The above is correct. The second, MINGW-only repository is for the other architecture.)
28
28
29
29
This step can be done with the following `sed` command (make sure to do proper backup before trying it):
30
30
31
31
```
32
-
sed -i '/^\[mingw32\]/{ s|^|[git-for-windows]\nServer = https://wingit.blob.core.windows.net/x86-64\n\n[git-for-windows-mingw32]\nServer = https://wingit.blob.core.windows.net/i686\n\n|; }' /etc/pacman.conf
32
+
sed -i '/^\[mingw32\]/{ s|^|[git-for-windows-x86_64]\nServer = https://raw.githubusercontent.com/git-for-windows/pacman-repo/refs/heads/x86_64\n\n[git-for-windows-mingw32]\nServer = https://raw.githubusercontent.com/git-for-windows/pacman-repo/refs/heads/i686\n\n|; }' /etc/pacman.conf
33
33
```
34
34
35
35
To avoid the future signature related issues, run the following commands first
0 commit comments