0
1

gitの環境構築【Windows】

Last updated at Posted at 2024-02-11

今までとは別のPCでGitを使用することになったので環境構築します。(備忘録)

1.Gitのインストール

以下サイトからGitをダウンロード

実行ファイルを開き、以下サイトを参考にインストール、初期設定など、、、
https://prog-8.com/docs/git-env-win

2.VScodeで使いたい

インストール時にデフォルトのエディタとしてVScodeを設定したはずなのに、gitコマンドが使えない…

パターン1:インストール後にVScodeを再起動していない

→再起動で解決

パターン2:VScodeがデフォルトのエディタに設定されていない

以下サイトを参考に設定
https://chuna.tech/blog/software/VisualStudioCode/use-git-command-in-vscode/

3.備考

ユーザー名、メールアドレス変更時は設定の変更が必要
以下参考
https://qiita.com/couragenki/items/cd547e166d059b646b66

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