Skip to content

Commit 50001cc

Browse files
committed
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]>
1 parent 58c654f commit 50001cc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

content/install-inside-msys2-proper.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,19 @@ Here are the steps to install the 64-bit version of Git for Windows to be run in
1717
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):
1818

1919
```
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
2222
2323
[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
2525
```
2626
2727
(The above is correct. The second, MINGW-only repository is for the other architecture.)
2828
2929
This step can be done with the following `sed` command (make sure to do proper backup before trying it):
3030
3131
```
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
3333
```
3434
3535
To avoid the future signature related issues, run the following commands first

0 commit comments

Comments
 (0)