0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Git for Windowsのインストール ~ 初期設定まで

0
Posted at

環境

Windows11/Git for Windows v2.55.0(2)

Git for Windows インストール

  • 公式サイトからダウンロードしインストール

  • Setup Wizardにて以下へ変更、確認。その他はデフォルト

    • Choosing the default editor used by Git画面

      VS Codeを使っているので
      Use Visual Studio Code as Git's default editorへ変更

    • Adjusting the name of the initial branch in new repositories画面

      入力欄に mainと入力されていることを確認

    • Configuring the line ending conversions画面

      エディタで改行コードを管理したいので、
      Checkout as-is, commit as-isへ変更

  • インストールが完了しているか確認

    git --version

Gitの初期設定

	#ユーザー名
	git config --global user.name "MyName"

	#メールアドレス
	git config --global user.email "UserName@Domain"

	#設定が正しくできたか確認
	git config --list
0
0
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
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?