0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Git for Windows のインストール

Posted at

手順

  1. Git for Windowsをダウンロード

  2. ダウンロードしたGit-2.35.1.2-64-bit.exeを実行。

  3. [Next]を押下
    image.png

  4. インストールディレクトリの選択画面。[Next]を押下
    image.png

  5. 必要なオプションを選択して[Next]を押下
    image.png

  6. スタートメニューへのプログラムショートカットの選択画面。[Next]を押下
    image.png

  7. デフォルトエディタの選択。別途インストールが必要。[Next]を押下
    image.png

  8. 新しいリポジトリで最初に作成するブランチ名の指定。こういうことらしい。Override the default branch name for new repositoriesを選択して[Next]を押下。(※まだ「Gitがよくわからん」という人はLet Git decideから変えない方がいいかも)
    image.png

  9. Windows環境変数の調整。Git form the command line and also form 3rd-party softwareを選択して[Next]を押下。(※Windows に別途インストールされたサードパーティソフトウェアも gitbash から実行可能になるオプション。次項に日本語訳あり)
    image.png

    英文とその訳(By Google 翻訳)

    • Use Git from Git Bash only.
    • GitBash の Git のみを使用してください。
      This is the most cautious choice as your PATH will not be moddifed at all. You w only be able use the Git command line tools from Git Bash.
      PATH はまったく変更されないため、これは最も慎重な選択です。 GitBash の Git コマンドラインツールのみを使用できます。
    • Git form the command line and also form 3rd-party software
    • Git はコマンドラインを形成し、サードパーティソフトウェアも形成します
      (Recommended)This option adds only same minimal Git wrappers to your PATH to avoid cluttering your enviroment with optional Unix tools.
      You will be able to use Git from Git Bash, the Command Prompt and the WindowsPowerShell as well as any third-party software looking for Git in PATH.
      (推奨)このオプションは、オプションの Unix ツールで環境が乱雑にならないように、同じ最小限の Git ラッパーのみを PATH に追加します。
      Git BashのGit、コマンドプロンプト、WindowsPowerShell、およびPATHでGitを検索するサードパーティソフトウェアを使用できます。
    • Use Git and optional Unix tools from the Command Prompt
    • コマンドプロンプトから Git とオプションの Unix ツールを使用する
      Both Git and optional Unix tools will be added to your PATH.
      Warning: This will override Windows tools like "find" and "sort". Only use the option if your understand the implications.
      GitとオプションのUnixツールの両方がPATHに追加されます。
      警告:これにより、「検索」や「並べ替え」などのWindowsツールが上書きされます。 影響を理解している場合にのみ、このオプションを使用してください。
  10. ssh client の選択。[Next]を押下。
    image.png

  11. [Next]を押下。
    image.png

  12. 改行コード(LF ⇔ CRLF)の自動変換。よほどの事が無い限りCheckout Windows-style, commit Unix-style line endings一択。[Next]を押下。
    image.png

  13. [Next] を押下。
    image.png

  14. [Next] を押下。
    image.png

  15. [Next] を押下。
    image.png

  16. [Next] を押下。
    image.png

  17. [Install] を押下。
    image.png

  18. [Finish] を押下。
    image.png

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?