差分
このページの2つのバージョン間の差分を表示します。
| 次のリビジョン | 前のリビジョン | ||
| windows:git [2019/07/19 04:39] – 作成 ともやん | windows:git [2023/09/28 18:31] (現在) – [Git for Windows (SDKではなく...)] ともやん | ||
|---|---|---|---|
| 行 1: | 行 1: | ||
| ====== Git - 分散型バージョン管理システム ====== | ====== Git - 分散型バージョン管理システム ====== | ||
| - | ===== Git for Windows のダウンロード | + | ===== Git For Windows ===== |
| + | 本家: [[https:// | ||
| + | |||
| + | ==== Git for Windows のダウンロード ==== | ||
| - [[https:// | - [[https:// | ||
| - | ===== Git for Windows のインストール | + | ==== Git for Windows のインストール ==== |
| - ダウンロードした Git-2.22.0-64-bit.exe を実行する。\\ {{: | - ダウンロードした Git-2.22.0-64-bit.exe を実行する。\\ {{: | ||
| - [Next >] ボタンをクリックして行き、インストールを進める。 | - [Next >] ボタンをクリックして行き、インストールを進める。 | ||
| - | ===== Git for Windows の動作確認 | + | ==== Git for Windows の動作確認 ==== |
| コマンドプロンプトより以下のコマンドを実行する。\\ | コマンドプロンプトより以下のコマンドを実行する。\\ | ||
| < | < | ||
| 行 14: | 行 17: | ||
| git version 2.22.0.windows.1 | git version 2.22.0.windows.1 | ||
| </ | </ | ||
| + | |||
| + | ==== 64bit Git for Windows Portable (SDKではなく...) ==== | ||
| + | <WRAP color_term> | ||
| + | <WRAP color_mincode>< | ||
| + | # | ||
| + | |||
| + | cd / | ||
| + | |||
| + | pkg_zstd_dir=zstd-v1.5.5-win64 | ||
| + | pkg_zstd=${pkg_zstd_dir}.zip | ||
| + | |||
| + | echo " | ||
| + | #curl -L https:// | ||
| + | #tar Jxvf / | ||
| + | curl -L https:// | ||
| + | unzip -o / | ||
| + | cp / | ||
| + | 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) | ||
| + | dirs=(usr etc usr) | ||
| + | |||
| + | for ((idx=0; idx< | ||
| + | echo " | ||
| + | curl -L https:// | ||
| + | tar x --zstd -vf / | ||
| + | rm / | ||
| + | echo | ||
| + | done | ||
| + | |||
| + | curl -L https:// | ||
| + | |||
| + | mkdir -p / | ||
| + | pacman-key --init | ||
| + | pacman-key --populate msys2 | ||
| + | pacman -Syy | ||
| + | |||
| + | #export URL=https:// | ||
| + | #cat / | ||
| + | # d=/ | ||
| + | # mkdir -p $d; | ||
| + | # echo $d; | ||
| + | # for f in desc files install mtree; do | ||
| + | # curl -sSL " | ||
| + | # done; | ||
| + | #done | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | [[so> | ||
| + | |||
| + | ===== Git for Windows SDK ===== | ||
| + | [[https:// | ||
| + | |||
| + | ===== 参考文献 ===== | ||
| + | [[https:// | ||
| + | [[https:// | ||
| + | |||