差分
このページの2つのバージョン間の差分を表示します。
| 両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | ||
| windows:git [2023/09/28 13:48] – [Git for Windows (SDKではなく...) 見直し中...] ともやん | windows:git [2023/09/28 18:31] (現在) – [Git for Windows (SDKではなく...)] ともやん | ||
|---|---|---|---|
| 行 18: | 行 18: | ||
| </ | </ | ||
| - | ==== Git for Windows (SDKではなく...) | + | ==== 64bit Git for Windows |
| <WRAP color_term> | <WRAP color_term> | ||
| - | < | + | < |
| # | # | ||
| cd / | cd / | ||
| - | echo " | + | pkg_zstd_dir=zstd-v1.5.5-win64 |
| + | pkg_zstd=${pkg_zstd_dir}.zip | ||
| + | |||
| + | echo " | ||
| #curl -L https:// | #curl -L https:// | ||
| #tar Jxvf / | #tar Jxvf / | ||
| - | curl -L https:// | + | curl -L https:// |
| - | unzip /tmp/zstd-v1.5.5-win64.zip | + | unzip -o /tmp/${pkg_zstd} |
| - | cp /tmp/zstd-v1.5.5-win64/zstd.exe /usr/bin/ | + | cp /tmp/${pkg_zstd_dir}/zstd.exe /usr/bin/ |
| + | rm / | ||
| + | rm -rf / | ||
| pkgs=(pacman-6.0.2-9-x86_64.pkg.tar.zst pacman-mirrors-20221016-1-any.pkg.tar.zst msys2-keyring-1~20230703-1-any.pkg.tar.zst) | pkgs=(pacman-6.0.2-9-x86_64.pkg.tar.zst pacman-mirrors-20221016-1-any.pkg.tar.zst msys2-keyring-1~20230703-1-any.pkg.tar.zst) | ||
| 行 39: | 行 44: | ||
| curl -L https:// | curl -L https:// | ||
| tar x --zstd -vf / | tar x --zstd -vf / | ||
| + | rm / | ||
| echo | echo | ||
| done | done | ||
| 行 47: | 行 53: | ||
| pacman-key --init | pacman-key --init | ||
| pacman-key --populate msys2 | pacman-key --populate msys2 | ||
| - | pacman -Sy | + | pacman -Syy |
| - | export URL=https:// | + | |
| - | cat / | + | #export URL=https:// |
| - | d=/ | + | #cat / |
| - | mkdir -p $d; | + | # |
| - | echo $d; | + | # mkdir -p $d; |
| - | for f in desc files install mtree; do | + | # echo $d; |
| - | curl -sSL " | + | # for f in desc files install mtree; do |
| - | done; | + | # curl -sSL " |
| - | done | + | # |
| + | #done | ||
| </ | </ | ||
| </ | </ | ||