0
1

More than 3 years have passed since last update.

Windows10にGitをインストール

Last updated at Posted at 2021-05-12

はじめに

Windows10にGitをインストールしたときの、チェックボックスをメモとして残しておく。

手順

インストーラをダウンロード

  • ダウンロードサイト (git-scm.com)
  • ダウンロードサイト右の"Download 2.x.x for Windows"をクリック

Gitのインストーラを起動

  • "Git-2.x.x-64-bit.exe" をクリック
  • "このアプリがデバイスに変更を加えることを許可しますか?"は"はい"を押す

Information

  • "Next" をクリック

Select Destination Location

  • "To continue, click Next. If you would like to select a different folder, click Browse."
    • 変更なし
    • "C:\Program File\Git"
  • "Next" をクリック

Select Components

  • ☑ "Additional icons"
    • ☑ "On the Desktop"
  • ☑ "Windows Explorer integration"
    • ☑ "Git Bash Here"
    • ☑ "Git GUI Here"
  • ☑ "Git LFS (Large File Support)"
  • ☑ "Associate .git* configuration files with the default text editor"
  • ☑ "Associate .sh files to be run with Bash"
  • ☑ "Use a TrueType font in all console windows"
  • ☑ "Check daily for Git for Windows updates"
  • "Next" をクリック

Select Start Menu Folder

  • "To continue, click Next. If you would like to select a different folder, click Browse."
    • 変更なし
    • "Git"
  • ☐ "Don't create a Start Menu folder"
  • "Next" をクリック

Choosing the default editor used by Git

  • "Use Visual Studio Code as Git's default editor" に変更
  • "Next" をクリック

Adjusting the name of the initial branch in new repositories

  • ◯ "Let Git decide"
  • ⦿ "Override the default branch name for repositories"
    • [main]
  • "Next" をクリック

Adjusting your PATH environment

  • ◯ "Use Git from Git Bash only"
  • ⦿ "Git from the command line and also from 3rd-party software"
  • ◯ "Use Git and optional Unix tools from the Command Prompt"
  • "Next" をクリック

Choosing HTTPS transport backend

  • ⦿ "Use the OpenSSL library"
  • ◯ "Use the native Windows Secure Channel library"
  • "Next" をクリック

Configuring the line ending conversions

  • ⦿ "Checkout Windows-style, commit Unix-style line endings"
  • ◯ "Checkout as-is, commit Unix-style line endings"
  • ◯ "Checkout as-is, commit as-is"
  • "Next" をクリック

Configuring the terminal emulator to use with Git Bash

  • ⦿ "Use MinTTY (the default terminal of MSYS2)"
  • ◯ "Use Windows' default console window"
  • "Next" をクリック

Choose the default behavior of git pull

  • ⦿ "Default (fast-forward or merge)"
  • ◯ "Rebase"
  • ◯ "Only over fast-forward"
  • "Next" をクリック

Choose a credential helper

  • ⦿ "Git Credential Manager Core"
  • ◯ "Git Credential Manager"
  • ◯ "None"
  • "Next" をクリック

Configure extra options

  • ☑ "Enable file system caching"
  • ☐ "Enable symbolic links"
  • "Next" をクリック

Configuring experimental options

  • ☐ "Enable experimental support for pseudo consoles."
  • "Next" をクリック

Installing

  • インストール中

Completing the Git Setup Wizard

  • ☐ "Launch Git Bash"
  • ☐ "View Release Notes"
  • "Finish"ボタンを押す

終わり

本記事は終了です。

References

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